Class KeywordsAttribute
Like the cat attribute, this is to assist identifying wanted sessions at the receiver. This allows a receiver to select interesting session based on keywords describing the purpose of the session; there is no central registry of keywords. It is a session-level attribute. It is a charset-dependent attribute, meaning that its value should be interpreted in the charset specified for the session description if one is specified, or by default in ISO 10646/UTF-8.
Inherited Members
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class KeywordsAttribute : Attribute
Constructors
KeywordsAttribute(String)
Initializes a new instance of the KeywordsAttribute class.
Declaration
public KeywordsAttribute(string keywords)
Parameters
Type | Name | Description |
---|---|---|
System.String | keywords | The keywords describing the purpose of the session. |
Properties
Keywords
Gets or sets the keywords describing the purpose of the session.
Declaration
public string Keywords { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the KeywordsAttribute class.
Declaration
public static KeywordsAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
KeywordsAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |