AudioDeviceModulesManager
AudioDeviceModulesManager
AudioDeviceModulesManager
AudioDeviceModulesManager
Class
Definition
Manages the collections of audio device modules for a audio device pin instance or for a particular audio endpoint.
public : sealed class AudioDeviceModulesManager : IAudioDeviceModulesManagerpublic sealed class AudioDeviceModulesManager : IAudioDeviceModulesManagerPublic NotInheritable Class AudioDeviceModulesManager Implements IAudioDeviceModulesManager// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
| Capabilities |
audioDeviceConfiguration
|
Constructors
AudioDeviceModulesManager(String) AudioDeviceModulesManager(String) AudioDeviceModulesManager(String) AudioDeviceModulesManager(String)
Gets an instance of the AudioDeviceModulesManager class for the specified audio device ID.
public : AudioDeviceModulesManager(PlatForm::String deviceId)public AudioDeviceModulesManager(String deviceId)Public Sub New(deviceId As String)// You can use this method in JavaScript.
- deviceId
- PlatForm::String String String String
The identifier of the audio device for which the AudioDeviceModulesManager is retrieved.
Methods
FindAll() FindAll() FindAll() FindAll()
Retreives a list of all audio device modules associated with the audio device for which the AudioDeviceModulesManager was initialized.
public : IVectorView<AudioDeviceModule> FindAll()public IReadOnlyList<AudioDeviceModule> FindAll()Public Function FindAll() As IReadOnlyList( Of AudioDeviceModule )// You can use this method in JavaScript.
A list of all audio device modules.
FindAllById(String) FindAllById(String) FindAllById(String) FindAllById(String)
Retrieves a list of all audio device modules with the specified ID. Each audio device module in the list will have the same ID, but each will have a different value for the AudioDeviceModule.InstanceId property.
public : IVectorView<AudioDeviceModule> FindAllById(PlatForm::String moduleId)public IReadOnlyList<AudioDeviceModule> FindAllById(String moduleId)Public Function FindAllById(moduleId As String) As IReadOnlyList( Of AudioDeviceModule )// You can use this method in JavaScript.
- moduleId
- PlatForm::String String String String
The identifier of the audio device modules to be retrieved.
A list of all audio device modules with the specified ID.
Events
ModuleNotificationReceived ModuleNotificationReceived ModuleNotificationReceived ModuleNotificationReceived
Occurs when a change occurs in one of the audio device modules associated with the audio device for which the AudioDeviceModulesManager was initialized.
public : event TypedEventHandler ModuleNotificationReceived<AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs>public event TypedEventHandler ModuleNotificationReceived<AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs>Public Event ModuleNotificationReceived<AudioDeviceModulesManager, AudioDeviceModuleNotificationEventArgs>// You can use this event in JavaScript.