IMediaTrack IMediaTrack IMediaTrack IMediaTrack Interface

Definition

Defines the interface implemented by media tracks.

public : interface IMediaTrackpublic interface IMediaTrackPublic Interface IMediaTrack// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Id Id Id Id

Gets the identifier of the media track.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The identifier of the media track.

Label Label Label Label

Gets or sets the label for the media track.

public : PlatForm::String Label { get; set; }public string Label { get; set; }Public ReadWrite Property Label As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The label for the media track.

Language Language Language Language

Gets or sets a string indicating the language of the media track.

public : PlatForm::String Language { get; }public string Language { get; }Public ReadOnly Property Language As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A string indicating the language of the media track.

TrackKind TrackKind TrackKind TrackKind

Gets a value indicating the type of data the track contains.

public : MediaTrackKind TrackKind { get; }public MediaTrackKind TrackKind { get; }Public ReadOnly Property TrackKind As MediaTrackKind// You can use this property in JavaScript.
Value
MediaTrackKind MediaTrackKind MediaTrackKind MediaTrackKind

A value indicating the type of data the track contains.