FMIceLinkStunUsernameAttribute Class Reference

Inherits from FMIceLinkStunAttribute : NSObject
Declared in FMIceLinkStunUsernameAttribute.h
FMIceLinkStunUsernameAttribute.m

Overview

The USERNAME attribute is used for message integrity. It identifies the username and password combination used in the message-integrity check.

– 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

FMIceLinkStunUsernameAttribute.h

– getValueLength

Gets the length of the attribute [value](#//api/name/value).

@return

- (int)getValueLength

Discussion

Gets the length of the attribute [value](#//api/name/value).

@return

Declared In

FMIceLinkStunUsernameAttribute.h

– initWithValue:

Initializes a new instance of the FMIceLinkStunUsernameAttribute class.
- (instancetype)initWithValue:(NSString *)value

Parameters

value

The username value.

Discussion

Initializes a new instance of the FMIceLinkStunUsernameAttribute class.

Declared In

FMIceLinkStunUsernameAttribute.h

+ readValueFromWithBuffer:offset:length:

Initializes a new instance of the FMIceLinkStunUsernameAttribute class.
+ (FMIceLinkStunUsernameAttribute *)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 FMIceLinkStunUsernameAttribute class.

Declared In

FMIceLinkStunUsernameAttribute.h

– setValue:

Sets the username [value](#//api/name/value).
- (void)setValue:(NSString *)value

Discussion

Sets the username [value](#//api/name/value).

Declared In

FMIceLinkStunUsernameAttribute.h

– typeValue

Gets the type [value](#//api/name/value).
- (int)typeValue

Discussion

Gets the type [value](#//api/name/value).

Declared In

FMIceLinkStunUsernameAttribute.h

+ usernameAttribute:

Initializes a new instance of the FMIceLinkStunUsernameAttribute class.
+ (FMIceLinkStunUsernameAttribute *)usernameAttribute:(NSString *)value

Parameters

value

The username value.

Discussion

Initializes a new instance of the FMIceLinkStunUsernameAttribute class.

Declared In

FMIceLinkStunUsernameAttribute.h

– value

Gets the username value.
- (NSString *)value

Discussion

Gets the username value.

Declared In

FMIceLinkStunUsernameAttribute.h

– writeValueToWithBuffer:offset:

Writes the attribute [value](#//api/name/value) to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset.

Discussion

Writes the attribute [value](#//api/name/value) to a data buffer.

Declared In

FMIceLinkStunUsernameAttribute.h