A DTMF (telephone-event) packet. More...
Instance Methods | |
| (int) | - duration |
| Gets the duration in timestamp units (based on the negotiated clock rate). More... | |
| (bool) | - end |
| Gets the end-bit. More... | |
| (int) | - eventCode |
| Gets the event code. More... | |
| (int) | - getLength |
| Gets the length. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchDtmfPacket class. More... | |
| (void) | - setDuration: |
| Sets the duration in timestamp units (based on the negotiated clock rate). More... | |
| (void) | - setEnd: |
| Sets the end-bit. More... | |
| (void) | - setEventCode: |
| Sets the event code. More... | |
| (void) | - setVolume: |
| Sets the volume in dBm0 with the sign removed. More... | |
| (int) | - volume |
| Gets the volume in dBm0 with the sign removed. More... | |
| (void) | - writeToWithDataBuffer: |
| Writes to a data buffer. More... | |
Class Methods | |
| (FMLiveSwitchDtmfPacket *) | + packet |
| Initializes a new instance of the FMLiveSwitchDtmfPacket class. More... | |
| (FMLiveSwitchDtmfPacket *) | + readFromWithDataBuffer: |
| Reads from a data buffer. More... | |
A DTMF (telephone-event) packet.
| - (int) duration |
Gets the duration in timestamp units (based on the negotiated clock rate).
| - (bool) end |
Gets the end-bit.
| - (int) eventCode |
Gets the event code.
| - (int) getLength |
Gets the length.
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchDtmfPacket class.
| + (FMLiveSwitchDtmfPacket*) packet |
Initializes a new instance of the FMLiveSwitchDtmfPacket class.
| + (FMLiveSwitchDtmfPacket*) readFromWithDataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer |
Reads from a data buffer.
| dataBuffer | The data buffer. |
| - (void) setDuration: | (int) | value |
Sets the duration in timestamp units (based on the negotiated clock rate).
| - (void) setEnd: | (bool) | value |
Sets the end-bit.
| - (void) setEventCode: | (int) | value |
Sets the event code.
| - (void) setVolume: | (int) | value |
Sets the volume in dBm0 with the sign removed.
Power levels range from 0 to -63 dBm0, so the value of this field ranges from 0-63, with higher values indicating lower volume.
| - (int) volume |
Gets the volume in dBm0 with the sign removed.
Power levels range from 0 to -63 dBm0, so the value of this field ranges from 0-63, with higher values indicating lower volume.
| - (void) writeToWithDataBuffer: | (FMLiveSwitchDataBuffer *) | dataBuffer |
Writes to a data buffer.
| dataBuffer | The data buffer. |