TextTrackResponse

data class TextTrackResponse(val displayName: String? = null, val fileName: String? = null, val hlsSettings: HlsSettingsResponse? = null, val languageCode: String, val odataType: String, val playerVisibility: String? = null)

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

Constructors

Link copied to clipboard
constructor(displayName: String? = null, fileName: String? = null, hlsSettings: HlsSettingsResponse? = null, languageCode: String, odataType: String, playerVisibility: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val displayName: String? = null

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

Link copied to clipboard
val fileName: String? = null

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

Link copied to clipboard

The HLS specific setting for the text track.

Link copied to clipboard

The RFC5646 language code for the text track.

Link copied to clipboard

The discriminator for derived types. Expected value is '#Microsoft.Media.TextTrack'.

Link copied to clipboard

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".