Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaState Enumeration

Media playback state (playing, paused, or stopped).

public enum MediaState

 Member nameDescription
PausedMedia playback is paused.
PlayingMedia is currently playing.
StoppedMedia playback is stopped.

The MediaPlayer.State property returns a MediaState value.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Windows Phone

Community Additions

Show:
© 2014 Microsoft