Share via


SoundEffectInstance.State Property

Gets the current state (playing, paused, or stopped) of the SoundEffectInstance.

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

Syntax

public SoundState State { get; }

Property Value

SoundState that represents the current state of the SoundEffectInstance.

See Also

Reference

SoundState Enumeration
SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

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