Class Attribute
An SDP attribute.
Inheritance
System.Object
Attribute
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class Attribute
Properties
AttributeType
Gets or sets this Attribute's Type.
Declaration
public AttributeType AttributeType { get; set; }
Property Value
Type | Description |
---|---|
AttributeType |
MultiplexingCategory
Gets or sets the Multiplexing Category of this Attribute.
Declaration
public AttributeCategory MultiplexingCategory { get; protected set; }
Property Value
Type | Description |
---|---|
AttributeCategory |
Methods
CreateAttribute(String, String)
Creates an attribute.
Declaration
public static Attribute CreateAttribute(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.String | value | The value. |
Returns
Type | Description |
---|---|
Attribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected abstract string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |
GetTypeName(Type)
Gets the name of the attribute type.
Declaration
public static string GetTypeName(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The attribute type. |
Returns
Type | Description |
---|---|
System.String |
IsMediaLevel(Type)
Determines whether the type applies to media streams.
Declaration
public static bool IsMediaLevel(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
System.Boolean |
IsSessionLevel(Type)
Determines whether the type applies to sessions.
Declaration
public static bool IsSessionLevel(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
System.Boolean |
Parse(String)
Creates an ConnectionData instance from a string.
Declaration
public static Attribute Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string to parse. |
Returns
Type | Description |
---|---|
Attribute |
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()