共用方式為


SoundLevelBroker 類別

定義

提供應用程式目前音效等級如何受到系統原則影響的資訊。

public ref class SoundLevelBroker abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SoundLevelBroker final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class SoundLevelBroker
Public Class SoundLevelBroker
繼承
Object Platform::Object IInspectable SoundLevelBroker
屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

屬性

SoundLevel

取得應用程式的目前音效等級。

事件

SoundLevelChanged

發生于系統原則變更應用程式的音效等級時。

適用於