PlayStateChangedEventArgs.CurrentPlayState Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the current PlayerState of the BackgroundAudioPlayer.
Namespace: Microsoft.Phone.BackgroundAudio
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public ReadOnly Property CurrentPlayState As PlayState
public PlayState CurrentPlayState { get; }
Property Value
Type: Microsoft.Phone.BackgroundAudio..::.PlayState
One of the enumeration values.
Remarks
Typical values for CurrentPlayState include Stopped, Playing, Paused, and Unknown.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0