FMLiveSwitchSdpCharacterSetAttribute Class Reference

This specifies the character set to be used to display the session name and information data. More...

Instance Methods

(NSString *) - characterSet
 Gets the character set to be used to display the session name and information data. More...
 
(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithCharacterSet:
 Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class. More...
 
- Instance Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - init
 
(FMLiveSwitchSdpAttributeCategory) - multiplexingCategory
 Gets the Multiplexing Category of this Attribute. More...
 
(void) - setAttributeType:
 Sets this Attribute's Type. More...
 
(void) - setMultiplexingCategory:
 Sets the Multiplexing Category of this Attribute. More...
 

Class Methods

(FMLiveSwitchSdpCharacterSetAttribute *) + characterSetAttributeWithCharacterSet:
 Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class. More...
 
(FMLiveSwitchSdpCharacterSetAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class. More...
 
- Class Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttribute *) + attribute
 
(FMLiveSwitchSdpAttribute *) + createAttributeWithName:value:
 Creates an attribute. More...
 
(NSString *) + getTypeNameWithType:
 Gets the name of the attribute type. More...
 
(bool) + isMediaLevelWithType:
 Determines whether the type applies to media streams. More...
 
(bool) + isSessionLevelWithType:
 Determines whether the type applies to sessions. More...
 
(FMLiveSwitchSdpAttribute *) + parseWithS:
 Creates an FMLiveSwitchSdpConnectionData instance from a string. More...
 

Detailed Description

This specifies the character set to be used to display the session name and information data.

By default, the ISO-10646 character set in UTF-8 encoding is used. If a more compact representation is required, other character sets may be used. For example, the ISO 8859-1 is specified with the following SDP attribute:

a=charset:ISO-8859-1

Method Documentation

◆ characterSet

- (NSString*) characterSet

Gets the character set to be used to display the session name and information data.

◆ characterSetAttributeWithCharacterSet:

+ (FMLiveSwitchSdpCharacterSetAttribute*) characterSetAttributeWithCharacterSet: (NSString *)  characterSet

Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class.

Parameters
characterSetThe character set to be used to display the session name and information data.

◆ fromAttributeValue:

+ (FMLiveSwitchSdpCharacterSetAttribute*) fromAttributeValue: (NSString *)  value

Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithCharacterSet:

- (instancetype) initWithCharacterSet: (NSString *)  characterSet

Initializes a new instance of the FMLiveSwitchSdpCharacterSetAttribute class.

Parameters
characterSetThe character set to be used to display the session name and information data.