FMIceLinkStunTurnDataAttribute Class Reference
Inherits from | FMIceLinkStunAttribute : NSObject |
---|---|
Declared in | FMIceLinkStunTurnDataAttribute.h FMIceLinkStunTurnDataAttribute.m |
Overview
The DATA attribute is present in all Send and Data indications.
The value portion of this attribute is variable length and consists of
the application [data](#//api/name/data).
– data
Gets the data.
- (FMIceLinkDataBuffer *)data
Discussion
Gets the data.
Declared In
FMIceLinkStunTurnDataAttribute.h
+ dataAttributeWithData:
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
+ (FMIceLinkStunTurnDataAttribute *)dataAttributeWithData:(FMIceLinkDataBuffer *)data
Parameters
data |
The data. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
Declared In
FMIceLinkStunTurnDataAttribute.h
– description
Returns a string that represents this instance.
@return A string that represents this instance.
- (NSString *)description
Discussion
Returns a string that represents this instance.
@return A string that represents this instance.
Declared In
FMIceLinkStunTurnDataAttribute.h
– getValueLength
Gets the length of the attribute value.
@return
- (int)getValueLength
Discussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnDataAttribute.h
– initWithData:
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
- (instancetype)initWithData:(FMIceLinkDataBuffer *)data
Parameters
data |
The data. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
Declared In
FMIceLinkStunTurnDataAttribute.h
+ readValueFromWithBuffer:offset:length:
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
+ (FMIceLinkStunTurnDataAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset length:(int)length
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. |
length |
The length. @return |
Discussion
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
Declared In
FMIceLinkStunTurnDataAttribute.h
– setData:
Sets the [data](#//api/name/data).
- (void)setData:(FMIceLinkDataBuffer *)value
Discussion
Sets the [data](#//api/name/data).
Declared In
FMIceLinkStunTurnDataAttribute.h
– typeValue
Gets the type value.
- (int)typeValue
Discussion
Gets the type value.
Declared In
FMIceLinkStunTurnDataAttribute.h
– writeValueToWithBuffer:offset:
Writes the attribute value to a [data](#//api/name/data) buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. |
Discussion
Writes the attribute value to a [data](#//api/name/data) buffer.
Declared In
FMIceLinkStunTurnDataAttribute.h