MediaControl.SoundLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.