This documentation is archived and is not being maintained.

MediaState Enumeration

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

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

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.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7