TimedMetadataTrackPresentationMode TimedMetadataTrackPresentationMode TimedMetadataTrackPresentationMode TimedMetadataTrackPresentationMode TimedMetadataTrackPresentationMode Enum

Definition

Specifies whether a set of timed metadata tracks are listed in the XAML **MediaTransportControls, whether events are raised for data cues in the tracks, and whether any subtitles and closed captions contained in the tracks are displayed by the system, by the app, or not at all.

public : enum class TimedMetadataTrackPresentationMode
enum class winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode : int32_t
public enum TimedMetadataTrackPresentationMode
Public Enum TimedMetadataTrackPresentationMode
var value = Windows.Media.Playback.TimedMetadataTrackPresentationMode.applicationPresented;
Attributes

Windows 10 requirements

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

Fields

ApplicationPresented ApplicationPresented ApplicationPresented ApplicationPresented ApplicationPresented 2

The timed metadata track is listed in the MediaTransportControls. If the metadata track contains subtitles or closed captions, they are not displayed by the platform. Cue events are raised.

Disabled Disabled Disabled Disabled Disabled 0

The timed metadata track is not listed in the MediaTransportControls. If the metadata track contains subtitles or closed captions, they are not displayed by the platform. Cue events are not raised.

Hidden Hidden Hidden Hidden Hidden 1

The timed metadata track is not listed in the MediaTransportControls. If the metadata track contains subtitles or closed captions, they are not displayed by the platform. Cue events are raised.

PlatformPresented PlatformPresented PlatformPresented PlatformPresented PlatformPresented 3

The timed metadata track is listed in the MediaTransportControls. If the metadata track contains subtitles or closed captions, they are displayed by the platform. Cue events are raised.

Remarks

Access the TimedMetadataTracks of a **MediaPlaybackItem** to get a **MediaPlaybackTimedmetadataTrackList** object representing the list of timed metadata tracks associated with the playback item. Call SetPresentationMode, passing in a value from this enumeration, to set the presentation mode for the playback item.

For how-to guidance on using timed metadata tracks with MediaPlaybackItem, see Media items, playlists, and tracks.