AudioDeviceModuleNotificationEventArgs 类

定义

为音频设备模块发生更改时引发的 AudioDeviceModulesManager.ModuleNotificationReceived 事件提供数据。

public ref class AudioDeviceModuleNotificationEventArgs 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 AudioDeviceModuleNotificationEventArgs 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 sealed class AudioDeviceModuleNotificationEventArgs
Public NotInheritable Class AudioDeviceModuleNotificationEventArgs
继承
Object Platform::Object IInspectable AudioDeviceModuleNotificationEventArgs
属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

属性

Module

获取触发更改事件的音频设备模块。

NotificationData

获取一个缓冲区,其中包含标识模块中发生的更改的数据。 此数据由模块开发人员定义。

适用于