Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.23 KB

mediaplaybackitemchangedreason.md

File metadata and controls

39 lines (27 loc) · 1.23 KB
-api-id -api-type
T:Windows.Media.Playback.MediaPlaybackItemChangedReason
winrt enumeration

Windows.Media.Playback.MediaPlaybackItemChangedReason

-description

Specifies the reason why the current MediaPlaybackItem in a MediaPlaybackList changed. Check for the reason by accessing the Reason property of the CurrentMediaPlaybackItemChangedEventArgs object passed into the MediaPlaybackList.CurrentItemChanged event.

-enum-fields

-field InitialItem:0

The current item is the first item in the playback list.

-field Error:2

The current item changed because there was an error playing back the previous item in the list.

-field EndOfStream:1

The current item changed because the previous item in the list played successfully to the end of its media stream.

-field AppRequested:3

The current item changed because the app initiated the change.

-remarks

-see-also

-examples