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 *)dataDiscussion
Gets the data.
Declared In
FMIceLinkStunTurnDataAttribute.h
+ dataAttributeWithData:
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
+ (FMIceLinkStunTurnDataAttribute *)dataAttributeWithData:(FMIceLinkDataBuffer *)dataParameters
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 *)descriptionDiscussion
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)getValueLengthDiscussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnDataAttribute.h
– initWithData:
Initializes a new instance of the FMIceLinkStunTurnDataAttribute class.
- (instancetype)initWithData:(FMIceLinkDataBuffer *)dataParameters
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)lengthParameters
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 *)valueDiscussion
Sets the [data](#//api/name/data).
Declared In
FMIceLinkStunTurnDataAttribute.h
– typeValue
Gets the type value.
- (int)typeValueDiscussion
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)offsetParameters
buffer |
The buffer. |
|---|---|
offset |
The offset. |
Discussion
Writes the attribute value to a [data](#//api/name/data) buffer.
Declared In
FMIceLinkStunTurnDataAttribute.h