MediaPlaybackTimedMetadataTrackList MediaPlaybackTimedMetadataTrackList MediaPlaybackTimedMetadataTrackList MediaPlaybackTimedMetadataTrackList MediaPlaybackTimedMetadataTrackList Class

Definition

Represents a read-only list of TimedMetadataTrack objects.

public : sealed class MediaPlaybackTimedMetadataTrackList
struct winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList
public sealed class MediaPlaybackTimedMetadataTrackList
Public NotInheritable Class MediaPlaybackTimedMetadataTrackList
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by accessing the TimedMetadataTracks property of a MediaPlaybackItem. To be notified when the list of tracks changes, handle the TimedMetadataTracksChanged event.

For how-to guidance for working with metadata tracks, see Media items, playlists, and tracks.

Properties

Size Size Size Size Size

Gets the number of timed metadata tracks in the list.

Methods

First() First() First() First() First()

Returns an iterator that iterates over the items in the collection.

GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32) GetAt(UInt32)

Returns the timed metadata track at the specified index.

GetMany(UInt32, TimedMetadataTrack[]) GetMany(UInt32, TimedMetadataTrack[]) GetMany(UInt32, TimedMetadataTrack[]) GetMany(UInt32, TimedMetadataTrack[]) GetMany(UInt32, TimedMetadataTrack[])

Retrieves the timed metadata tracks that start at the specified index in the list.

GetPresentationMode(UInt32) GetPresentationMode(UInt32) GetPresentationMode(UInt32) GetPresentationMode(UInt32) GetPresentationMode(UInt32)

Gets the presentation mode of the timed metadata track with the specified index.

IndexOf(TimedMetadataTrack, UInt32) IndexOf(TimedMetadataTrack, UInt32) IndexOf(TimedMetadataTrack, UInt32) IndexOf(TimedMetadataTrack, UInt32) IndexOf(TimedMetadataTrack, UInt32)

Retrieves the index of a specified timed metadata track in the list.

SetPresentationMode(UInt32, TimedMetadataTrackPresentationMode) SetPresentationMode(UInt32, TimedMetadataTrackPresentationMode) SetPresentationMode(UInt32, TimedMetadataTrackPresentationMode) SetPresentationMode(UInt32, TimedMetadataTrackPresentationMode) SetPresentationMode(UInt32, TimedMetadataTrackPresentationMode)

Sets the presentation mode of the timed metadata track with the specified index.

Events

PresentationModeChanged PresentationModeChanged PresentationModeChanged PresentationModeChanged PresentationModeChanged

Occurs when the presentation mode of the MediaPlaybackTimedMetadataTrackList changes.

See also