UserAction Enumeration

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

Indicates the possible user actions.

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


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


Member name Description
Stop Stop playback.
Pause Pause playback.
Play Play or resume playback.
SkipNext Skip to the next track.
SkipPrevious Skip to the previous track.
FastForward Fast-forward the current track.
Rewind Rewind the current track.
Seek Seek to a position within the current track.


This does not represent actual state changes in the player, but rather actions the user has taken through the user interface, which may or may not result in actual changes to the player.

These actions can come from either the application's user interface or the Universal Volume Control (UVC) buttons.

FastForward and Rewind actions require the user to tap and hold the SkipNext and SkipPrevious buttons, respectively.

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