Search Results for

    Show / Hide Table of Contents

    Class SdpLanguageAttribute

    This can be a session-level attribute or a media-level attribute. As a session-level attribute, it specifies the language for the session description. As a media-level attribute, it specifies the language for any media-level SDP information field associated with that media. Multiple sdplang attributes can be provided either at session or media level if multiple languages in 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.

    Inheritance
    System.Object
    Attribute
    SdpLanguageAttribute
    Inherited Members
    Attribute.AttributeType
    Attribute.MultiplexingCategory
    Attribute.GetTypeName(Type)
    Attribute.IsSessionLevel(Type)
    Attribute.IsMediaLevel(Type)
    Attribute.CreateAttribute(String, String)
    Attribute.ToString()
    Attribute.Parse(String)
    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 class SdpLanguageAttribute : Attribute

    Constructors

    SdpLanguageAttribute(String)

    Initializes a new instance of the SdpLanguageAttribute class.

    Declaration
    public SdpLanguageAttribute(string languageTag)
    Parameters
    Type Name Description
    System.String languageTag

    The language for either the session description (if used as a session-level attribute) or any media-level SDP information field associated with that media (if used as a media-level attribute).

    Properties

    LanguageTag

    Gets or sets the language for either the session description (if used as a session-level attribute) or any media-level SDP information field associated with that media (if used as a media-level attribute).

    Declaration
    public string LanguageTag { get; }
    Property Value
    Type Description
    System.String

    Methods

    FromAttributeValue(String)

    Initializes a new instance of the SdpLanguageAttribute class.

    Declaration
    public static SdpLanguageAttribute FromAttributeValue(string value)
    Parameters
    Type Name Description
    System.String value

    The attribute value.

    Returns
    Type Description
    SdpLanguageAttribute

    GetAttributeValue()

    Gets the internal value of the attribute.

    Declaration
    protected override string GetAttributeValue()
    Returns
    Type Description
    System.String
    Overrides
    Attribute.GetAttributeValue()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0