Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

MediaControl.SoundLevel | soundLevel property

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

Gets the current sound level.

Syntax


var soundLevel = Windows.Media.MediaControl.soundLevel;

Property value

Type: SoundLevel

The current sound level.

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.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0
Xbox, introduced version 10.0.10586.0

API contract

Windows.Media.MediaControlContract, introduced version 1.0

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.Media.MediaControlContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

See also

MediaControl
SoundLevel enumeration

 

 

Mostrar:
© 2016 Microsoft