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

public class TextTrack : Azure.ResourceManager.Media.Models.MediaAssetTrackBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.TextTrack>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.TextTrack>
public class TextTrack : Azure.ResourceManager.Media.Models.MediaAssetTrackBase
type TextTrack = class
    inherit MediaAssetTrackBase
    interface IJsonModel<TextTrack>
    interface IPersistableModel<TextTrack>
type TextTrack = class
    inherit MediaAssetTrackBase
Public Class TextTrack
Inherits MediaAssetTrackBase
Implements IJsonModel(Of TextTrack), IPersistableModel(Of TextTrack)
Public Class TextTrack
Inherits MediaAssetTrackBase
Inheritance
Implements

Constructors

TextTrack()

Initializes a new instance of TextTrack.

Properties

DisplayName

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

FileName

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

HlsSettings

The HLS specific setting for the text track.

LanguageCode

The RFC5646 language code for the text track.

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaAssetTrackBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MediaAssetTrackBase)
IJsonModel<MediaAssetTrackBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaAssetTrackBase)
IJsonModel<TextTrack>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TextTrack>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaAssetTrackBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MediaAssetTrackBase)
IPersistableModel<MediaAssetTrackBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MediaAssetTrackBase)
IPersistableModel<MediaAssetTrackBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MediaAssetTrackBase)
IPersistableModel<TextTrack>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TextTrack>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TextTrack>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to