This can be a session-level attribute or a media-level attribute. More...
Public Member Functions | |
String | getLanguageTag () |
Gets the default language for the session being described (if used as a session-level attribute) or the language for a media stream (if used as a media-level attribute). More... | |
LanguageAttribute (String languageTag) | |
Initializes a new instance of the fm.liveswitch.sdp.LanguageAttribute class. More... | |
Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
fm.liveswitch.sdp.AttributeType | getAttributeType () |
Gets this Attribute's Type. More... | |
fm.liveswitch.sdp.AttributeCategory | getMultiplexingCategory () |
Gets the Multiplexing Category of this Attribute. More... | |
void | setAttributeType (fm.liveswitch.sdp.AttributeType value) |
Sets this Attribute's Type. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.LanguageAttribute | fromAttributeValue (String value) |
Initializes a new instance of the fm.liveswitch.sdp.LanguageAttribute class. More... | |
Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
static fm.liveswitch.sdp.Attribute | createAttribute (String name, String value) |
Creates an attribute. More... | |
static String | getTypeName (@SuppressWarnings("rawtypes") Class type) |
Gets the name of the attribute type. More... | |
static boolean | isMediaLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to media streams. More... | |
static boolean | isSessionLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to sessions. More... | |
static fm.liveswitch.sdp.Attribute | parse (String s) |
Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More... | |
Protected Member Functions | |
String | getAttributeValue () |
Gets the internal value of the attribute. More... | |
Protected Member Functions inherited from fm.liveswitch.sdp.Attribute | |
Attribute () | |
void | setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value) |
Sets the Multiplexing Category of this Attribute. More... | |
This can be a session-level attribute or a media-level attribute.
As a session-level attribute, it specifies the default language for the session being described. As a media- level attribute, it specifies the language for that media, overriding any session-level language specified. Multiple lang attributes can be provided either at session or media level if the session description or media use multiple languages, in which case the order of the attributes indicates the order of importance of the various languages in the session or media from most important to least important.
fm.liveswitch.sdp.LanguageAttribute.LanguageAttribute | ( | String | languageTag | ) |
Initializes a new instance of the fm.liveswitch.sdp.LanguageAttribute class.
languageTag | The default language for the session being described (if used as a session-level attribute) or the language for a media stream (if used as a media-level attribute). |
|
static |
Initializes a new instance of the fm.liveswitch.sdp.LanguageAttribute class.
value | The attribute value. |
|
protected |
Gets the internal value of the attribute.
Reimplemented from fm.liveswitch.sdp.Attribute.
String fm.liveswitch.sdp.LanguageAttribute.getLanguageTag | ( | ) |
Gets the default language for the session being described (if used as a session-level attribute) or the language for a media stream (if used as a media-level attribute).