Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.11 KB

mediaplaybacklist_maxplayeditemstokeepopen.md

File metadata and controls

24 lines (16 loc) · 1.11 KB
-api-id -api-type
P:Windows.Media.Playback.MediaPlaybackList.MaxPlayedItemsToKeepOpen
winrt property

Windows.Media.Playback.MediaPlaybackList.MaxPlayedItemsToKeepOpen

-description

Gets or sets a value that specifies the number of MediaPlaybackItem objects that should be kept open after they have been played.

-property-value

A value that specifies the number of MediaPlaybackItem objects that should be kept open after they have been played.

-remarks

Set this value to cause the system to keep the specified number of media playback items open after they have been played so that, if the users navigates backwards through the playback list, the open items can be played immediately without needing to be reopened. The trade off is that the more items that are kept open, the more memory is used by your app, which is especially important to consider with background media playback, where resources are more limited than for a foreground app.

-see-also

-examples