Jaa


CurrentMediaPlaybackItemChangedEventArgs.Reason Property

Definition

Gets the reason why the current MediaPlaybackItem in a MediaPlaybackList changed, such as if the previous item completed playback successfully or if there was an error playing back the previous item.

public:
 property MediaPlaybackItemChangedReason Reason { MediaPlaybackItemChangedReason get(); };
MediaPlaybackItemChangedReason Reason();
public MediaPlaybackItemChangedReason Reason { get; }
var mediaPlaybackItemChangedReason = currentMediaPlaybackItemChangedEventArgs.reason;
Public ReadOnly Property Reason As MediaPlaybackItemChangedReason

Property Value

The reason why the current MediaPlaybackItem in a MediaPlaybackList changed.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to