AudioDeviceModulesManager Klasse

Definition

Verwaltet die Sammlungen von Audiogerätemodulen für eine Audiogeräte-Pin instance oder für einen bestimmten Audioendpunkt.

public ref class AudioDeviceModulesManager sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Devices.IAudioDeviceModulesManagerFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [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 AudioDeviceModulesManager final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Devices.IAudioDeviceModulesManagerFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[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 AudioDeviceModulesManager
function AudioDeviceModulesManager(deviceId)
Public NotInheritable Class AudioDeviceModulesManager
Vererbung
Object Platform::Object IInspectable AudioDeviceModulesManager
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Creators Update (eingeführt in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v4.0)
App-Funktionen
audioDeviceConfiguration

Konstruktoren

AudioDeviceModulesManager(String)

Ruft eine instance der AudioDeviceModulesManager-Klasse für die angegebene Audiogeräte-ID ab.

Methoden

FindAll()

Erstellt eine Liste aller Audiogerätemodule, die dem Audiogerät zugeordnet sind, für das audioDeviceModulesManager initialisiert wurde.

FindAllById(String)

Ruft eine Liste aller Audiogerätemodule mit der angegebenen ID ab. Jedes Audiogerätemodul in der Liste weist dieselbe ID auf, verfügt jedoch über einen anderen Wert für die AudioDeviceModule.InstanceId-Eigenschaft .

Ereignisse

ModuleNotificationReceived

Tritt auf, wenn eine Änderung in einem der Audiogerätemodule auftritt, die dem Audiogerät zugeordnet sind, für das audioDeviceModulesManager initialisiert wurde.

Gilt für: