ArmMediaModelFactory.TextTrack Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TextTrack.
public static Azure.ResourceManager.Media.Models.TextTrack TextTrack (string fileName = default, string displayName = default, string languageCode = default, Azure.ResourceManager.Media.Models.PlayerVisibility? playerVisibility = default, Azure.ResourceManager.Media.Models.HlsSettings hlsSettings = default);
static member TextTrack : string * string * string * Nullable<Azure.ResourceManager.Media.Models.PlayerVisibility> * Azure.ResourceManager.Media.Models.HlsSettings -> Azure.ResourceManager.Media.Models.TextTrack
Public Shared Function TextTrack (Optional fileName As String = Nothing, Optional displayName As String = Nothing, Optional languageCode As String = Nothing, Optional playerVisibility As Nullable(Of PlayerVisibility) = Nothing, Optional hlsSettings As HlsSettings = Nothing) As TextTrack
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<PlayerVisibility>
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".
- hlsSettings
- HlsSettings
The HLS specific setting for the text track.
Returns
A new TextTrack instance for mocking.
Applies to
Azure SDK for .NET