Share via


TextTrack Constructors

Definition

Overloads

TextTrack()

Initializes a new instance of the TextTrack class.

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

Initializes a new instance of the TextTrack class.

TextTrack()

Initializes a new instance of the TextTrack class.

public TextTrack ();
Public Sub New ()

Applies to

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

Initializes a new instance of the TextTrack class.

public TextTrack (string fileName = default, string displayName = default, string languageCode = default, Microsoft.Azure.Management.Media.Models.Visibility? playerVisibility = default, Microsoft.Azure.Management.Media.Models.HlsSettings hlsSettings = default);
new Microsoft.Azure.Management.Media.Models.TextTrack : string * string * string * Nullable<Microsoft.Azure.Management.Media.Models.Visibility> * Microsoft.Azure.Management.Media.Models.HlsSettings -> Microsoft.Azure.Management.Media.Models.TextTrack
Public Sub New (Optional fileName As String = Nothing, Optional displayName As String = Nothing, Optional languageCode As String = Nothing, Optional playerVisibility As Nullable(Of Visibility) = Nothing, Optional hlsSettings As HlsSettings = Nothing)

Parameters

fileName
String

The file name to the source file. This file is located in the storage container of the asset.

displayName
String

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

languageCode
String

The RFC5646 language code for the text track.

playerVisibility
Nullable<Visibility>

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'

hlsSettings
HlsSettings

The HLS specific setting for the text track.

Applies to