CurrentPlayState Property
Collapse the table of content
Expand the table of content

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)

public PlayState CurrentPlayState { get; }

Property Value

Type: Microsoft.Phone.BackgroundAudio.PlayState
One of the enumeration values.

Typical values for CurrentPlayState include Stopped, Playing, Paused, and Unknown.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft