TextTrackArgs

data class TextTrackArgs(val displayName: Output<String>? = null, val fileName: Output<String>? = null, val hlsSettings: Output<HlsSettingsArgs>? = null, val odataType: Output<String>, val playerVisibility: Output<Either<String, Visibility>>? = null) : ConvertibleToJava<TextTrackArgs>

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: Output<String>? = null, fileName: Output<String>? = null, hlsSettings: Output<HlsSettingsArgs>? = null, odataType: Output<String>, playerVisibility: Output<Either<String, Visibility>>? = null)

Properties

Link copied to clipboard
val displayName: Output<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: Output<String>? = null

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

Link copied to clipboard
val hlsSettings: Output<HlsSettingsArgs>? = null

The HLS specific setting for the text track.

Link copied to clipboard
val odataType: Output<String>

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

Link copied to clipboard
val playerVisibility: Output<Either<String, Visibility>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TextTrackArgs