FMIceLinkDtmfPacket Class Reference

Inherits from NSObject
Declared in FMIceLinkDtmfPacket.h
FMIceLinkDtmfPacket.m

Overview

A DTMF (telephone-event) [packet](#//api/name/packet).

– duration

Gets the duration in timestamp units (based on the negotiated clock rate).
- (int)duration

Discussion

Gets the duration in timestamp units (based on the negotiated clock rate).

Declared In

FMIceLinkDtmfPacket.h

– end

Gets the end-bit.
- (bool)end

Discussion

Gets the end-bit.

Declared In

FMIceLinkDtmfPacket.h

– eventCode

Gets the event code.
- (int)eventCode

Discussion

Gets the event code.

Declared In

FMIceLinkDtmfPacket.h

– getLength

Gets the length.

@return

- (int)getLength

Discussion

Gets the length.

@return

Declared In

FMIceLinkDtmfPacket.h

– init

Initializes a new instance of the FMIceLinkDtmfPacket class.
- (instancetype)init

Discussion

Initializes a new instance of the FMIceLinkDtmfPacket class.

Declared In

FMIceLinkDtmfPacket.h

+ packet

Initializes a new instance of the FMIceLinkDtmfPacket class.
+ (FMIceLinkDtmfPacket *)packet

Discussion

Initializes a new instance of the FMIceLinkDtmfPacket class.

Declared In

FMIceLinkDtmfPacket.h

+ readFromWithDataBuffer:

Reads from a data buffer.
+ (FMIceLinkDtmfPacket *)readFromWithDataBuffer:(FMIceLinkDataBuffer *)dataBuffer

Parameters

dataBuffer

The data buffer. @return

Discussion

Reads from a data buffer.

Declared In

FMIceLinkDtmfPacket.h

– setDuration:

Sets the [duration](#//api/name/duration) in timestamp units (based on the negotiated clock rate).
- (void)setDuration:(int)value

Discussion

Sets the [duration](#//api/name/duration) in timestamp units (based on the negotiated clock rate).

Declared In

FMIceLinkDtmfPacket.h

– setEnd:

Sets the end-bit.
- (void)setEnd:(bool)value

Discussion

Sets the end-bit.

Declared In

FMIceLinkDtmfPacket.h

– setEventCode:

Sets the event code.
- (void)setEventCode:(int)value

Discussion

Sets the event code.

Declared In

FMIceLinkDtmfPacket.h

– setVolume:

Sets the [volume](#//api/name/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](#//api/name/volume).
- (void)setVolume:(int)value

Discussion

Sets the [volume](#//api/name/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](#//api/name/volume).

Declared In

FMIceLinkDtmfPacket.h

– 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.
- (int)volume

Discussion

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.

Declared In

FMIceLinkDtmfPacket.h

– writeToWithDataBuffer:

Writes to a data buffer.
- (void)writeToWithDataBuffer:(FMIceLinkDataBuffer *)dataBuffer

Parameters

dataBuffer

The data buffer.

Discussion

Writes to a data buffer.

Declared In

FMIceLinkDtmfPacket.h