13 #ifndef _MiDtmfNotf_h_ 14 #define _MiDtmfNotf_h_ 20 #include "utl/UtlString.h" 78 int32_t duration = DURATION_NOT_APPLICABLE,
146 #endif // _MiDtmfNotf_h_ Definition: MiDtmfNotf.h:55
Definition: MiDtmfNotf.h:65
void setDuration(int32_t duration)
Set the duration of this DTMF notification.
Definition: MiDtmfNotf.cpp:101
int32_t getDuration() const
Get the duration of this DTMF notification.
Definition: MiDtmfNotf.cpp:121
MiDtmfNotf(const UtlString &sourceId, KeyCode key, KeyPressState pressState, int32_t duration=DURATION_NOT_APPLICABLE, int connId=-1, int streamId=-1)
Constructor.
Definition: MiDtmfNotf.cpp:32
Definition: MiDtmfNotf.h:58
int32_t mDuration
Duration of the DTMF event.
Definition: MiDtmfNotf.h:141
virtual OsMsg * createCopy(void) const
Create a copy of this msg object (which may be of a derived type)
Definition: MiDtmfNotf.cpp:59
void setKeyPressState(KeyPressState pressState)
Set the key press state for this DTMF notification – down or up.
Definition: MiDtmfNotf.cpp:95
Definition: MiDtmfNotf.h:62
Definition: MiDtmfNotf.h:64
void setKeyCode(KeyCode key)
Set the specific DTMF value that this notification represents.
Definition: MiDtmfNotf.cpp:89
Definition: MiDtmfNotf.h:59
UtlBoolean isPressed() const
Definition: MiDtmfNotf.cpp:129
Definition: MiDtmfNotf.h:67
Definition: MiDtmfNotf.h:66
Message notification class used to communicate media notification events.
Definition: MiNotification.h:42
Definition: MiDtmfNotf.h:47
KeyCode mKey
The DTMF key value.
Definition: MiDtmfNotf.h:139
KeyPressState getKeyPressState() const
Get the key press state for this DTMF notification – down or up.
Definition: MiDtmfNotf.cpp:115
Definition: MiDtmfNotf.h:46
Definition: MiDtmfNotf.h:52
Definition: MiDtmfNotf.h:61
MiDtmfNotf & operator=(const MiDtmfNotf &rhs)
Assignment operator.
Definition: MiDtmfNotf.cpp:74
Definition: MiDtmfNotf.h:54
Definition: MiDtmfNotf.h:63
virtual ~MiDtmfNotf()
Destructor.
Definition: MiDtmfNotf.cpp:65
Definition: MiDtmfNotf.h:37
KeyCode getKeyCode() const
Get the specific DTMF value that this notification represents.
Definition: MiDtmfNotf.cpp:109
Definition: MiDtmfNotf.h:57
KeyPressState
Definition: MiDtmfNotf.h:44
Definition: MiDtmfNotf.h:56
KeyCode
Definition: MiDtmfNotf.h:50
Definition: MiDtmfNotf.h:60
Definition: MiDtmfNotf.h:53
KeyPressState mPressState
Whether the key is up or down.
Definition: MiDtmfNotf.h:140
static const int32_t DURATION_NOT_APPLICABLE
Definition: MiDtmfNotf.h:42