Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2015 Microsoft