BackgroundAudioPlayer.PlayStateChanged Event
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Occurs when the PlayState changes.
Namespace: Microsoft.Phone.BackgroundAudio
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Event PlayStateChanged As EventHandler
public event EventHandler PlayStateChanged
Remarks
In Windows Phone 8, you can check the PlayStateChangedEventArgs to determine both the CurrentPlayState and the IntermediatePlayState that occurred before the audio player entered the current play state.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone