MediaPlayer Properties

Public Properties

Name Description
Public Property Static GameHasControl Determines whether the game has control of the background music.
Public Property Static IsMuted Gets or set the muted setting for the media player.
Public Property Static IsRepeating Gets or sets the repeat setting for the media player.
Public Property Static IsShuffled Gets or sets the shuffle setting for the media player.
Public Property Static IsVisualizationEnabled Gets or sets the visualization enabled setting for the media player.
Public Property Static PlayPosition Gets the play position within the currently playing song.
Public Property Static Queue Gets the media playback queue, MediaQueue.
Public Property Static State Gets the media playback state, MediaState.
Public Property Static Volume Gets or sets the media player volume.

See Also

Reference

MediaPlayer Class
Microsoft.Xna.Framework.Media Namespace