MediaState Enumeration

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

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

Syntax

public enum MediaState

Members

  Member name Description
Paused Media playback is paused.
Playing Media is currently playing.
Stopped Media playback is stopped.

Remarks

The MediaPlayer.State property returns a MediaState value.

See Also

Reference

MediaPlayer.State Property
Microsoft.Xna.Framework.Media Namespace

Platforms

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