MediaControl.SoundLevel Property

Definition

Note

MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.

Gets the current sound level.

public:
 static property SoundLevel SoundLevel { SoundLevel get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
static SoundLevel SoundLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
static SoundLevel SoundLevel();
public static SoundLevel SoundLevel { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))] get; }
public static SoundLevel SoundLevel { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")] get; }
var soundLevel = MediaControl.soundLevel;
Public Shared ReadOnly Property SoundLevel As SoundLevel

Property Value

The current sound level.

Attributes

Remarks

Note that the sound level of an application is tied to the state of its render streams only, and not to the states of its capture or loopback streams.

Applies to

See also