PlayState Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Indicates the possible states that the player can be in, with respect to the current application's background audio.

Namespace: Microsoft.Phone.BackgroundAudio
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)


Public Enumeration PlayState
public enum PlayState
<object property="enumerationValue" .../>


Member name Description
Unknown The current PlayState is indeterminate. For example, a new AudioTrack has been set, but playback has not been initiated.
Stopped No playback is occurring in this application.
Paused Playback for this application is paused.
Playing This application is currently playing a track.
BufferingStarted The current track has started buffering.
BufferingStopped The current track has stopped buffering.
TrackReady The current track is ready for playback.
TrackEnded The last track has ended and this application is currently changing tracks.
Rewinding The current track is rewinding.
FastForwarding The current track is fast-forwarding.
Shutdown The application has shut down.
Error An error occurred.


This does not represent background audio being played from other applications. For example, even if the PlayState is Stopped, there might still be media playing from another application.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


Microsoft.Phone.BackgroundAudio Namespace

Other Resources

Background audio overview for Windows Phone 8

How to play background audio for Windows Phone 8