Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.95 KB

mediaplaybackaudiotracklist.md

File metadata and controls

27 lines (18 loc) · 1.95 KB
-api-id -api-type
T:Windows.Media.Playback.MediaPlaybackAudioTrackList
winrt class

Windows.Media.Playback.MediaPlaybackAudioTrackList

-description

Represents a read-only list of AudioTrack objects, of which a single track can be selected at one time.

-remarks

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

This class provides access to the list of AudioTrack 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 audio tracks in the track list for playback.

Note that this class does not represent a playlist of audio tracks that are played sequentially. To play a sequential list of tracks, use MediaPlaybackList.

For how-to guidance for working with the audio tracks of a media item, see Media items, playlists, and tracks.

-examples

-see-also

IVectorView(AudioTrack), IIterable(AudioTrack), ISingleSelectMediaTrackList, AudioTrack, Media items, playlists, and tracks