Share via


TextTrack Class

Definition

Represents a text track in an asset. A text track is usually used for sparse data related to the audio or video tracks.

[Newtonsoft.Json.JsonObject("#Microsoft.Media.TextTrack")]
public class TextTrack : Microsoft.Azure.Management.Media.Models.TrackBase
[<Newtonsoft.Json.JsonObject("#Microsoft.Media.TextTrack")>]
type TextTrack = class
    inherit TrackBase
Public Class TextTrack
Inherits TrackBase
Inheritance
TextTrack
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

TextTrack()

Initializes a new instance of the TextTrack class.

TextTrack(String, String, String, Nullable<Visibility>, HlsSettings)

Initializes a new instance of the TextTrack class.

Properties

DisplayName

Gets or sets the display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.

FileName

Gets or sets the file name to the source file. This file is located in the storage container of the asset.

HlsSettings

Gets or sets the HLS specific setting for the text track.

LanguageCode

Gets the RFC5646 language code for the text track.

PlayerVisibility

Gets or sets when PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible". Possible values include: 'Hidden', 'Visible'

Applies to