Windows.Media.Playback.MediaPlaybackList
September 2, 2020 ยท View on GitHub
-description
Represents a list of MediaPlaybackItem objects that can be played back. Provides methods for switching the currently playing item and enabling looping and shuffling.
-remarks
Items in a MediaPlaybackList are rendered using gapless playback. The system will use provided metadata in MP3 or AAC encoded files to determine the delay or padding compensation needed for gapless playback. If the MP3 or AAC encoded files don't provide this metadata, then the system determines the delay or padding heuristically. For lossless formats, such as PCM, FLAC, or ALAC, the system takes no action because these encoders don't introduce delay or padding.
For how-to guidance for working with media items, see Media items, playlists, and tracks.
Version history
| Windows version | SDK version | Value added |
|---|---|---|
| 1511 | 10586 | MaxPrefetchTime |
| 1511 | 10586 | SetShuffledItems |
| 1511 | 10586 | ShuffledItems |
| 1511 | 10586 | StartingItem |
| 1703 | 15063 | MaxPlayedItemsToKeepOpen |
-examples
-see-also
IMediaPlaybackSource, Media items, playlists, and tracks, Background media playback sample