-api-id | -api-type |
---|---|
T:Windows.Media.Playback.MediaPlaybackVideoTrackList |
winrt class |
Represents a read-only list of VideoTrack objects, of which a single track can be selected at one time.
Get an instance of this class by accessing the VideoTracks property of a MediaPlaybackItem. To be notified when the list of tracks changes, handle the VideoTracksChanged event.
This class provides access to the list of VideoTrack objects that are associated with a MediaPlaybackItem. When the media item is opened by a component and the ItemOpened event is raised, you can select one of the video tracks in the track list for playback.
Note that this class does not represent a playlist of video tracks that are played sequentially. To play a sequential list of tracks, use MediaPlaybackList.
For how-to guidance for working with the video tracks of a media item, see Media items, playlists, and tracks.
IVectorView(VideoTrack), IIterable(VideoTrack), ISingleSelectMediaTrackList, VideoTrack, Media items, playlists, and tracks