AudioDeviceModulesManager 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
管理音訊裝置釘選實例或特定音訊端點的音訊裝置模組集合。
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
- 繼承
- 屬性
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|
應用程式功能 |
audioDeviceConfiguration
|
建構函式
AudioDeviceModulesManager(String) |
取得指定音訊裝置識別碼的 AudioDeviceModulesManager 類別實例。 |
方法
FindAll() |
Retreives a list of all audio device modules associated with the audio device for the AudioDeviceModulesManager was initialized. |
FindAllById(String) |
擷取具有指定識別碼的所有音訊裝置模組清單。 清單中的每個音訊裝置模組都會有相同的識別碼,但每個模組都會有不同的 AudioDeviceModule.InstanceId 屬性值。 |
事件
ModuleNotificationReceived |
發生于其中一個與 AudioDeviceModulesManager 初始化之音訊裝置相關聯的音訊裝置模組中發生變更時。 |