IDefaultAudioDeviceChangedEventArgs IDefaultAudioDeviceChangedEventArgs IDefaultAudioDeviceChangedEventArgs IDefaultAudioDeviceChangedEventArgs Interface

Definition

Called when the default audio device is changed for either audio render or capture.

public : interface IDefaultAudioDeviceChangedEventArgspublic interface IDefaultAudioDeviceChangedEventArgsPublic Interface IDefaultAudioDeviceChangedEventArgs// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Id Id Id Id

Gets the ID of the newly selected audio device that raised the device change event.

public : PlatForm::String Id { get; }public string Id { get; }Public ReadOnly Property Id As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

ID of the newly selected audio device that raised the device change event.

Role Role Role Role

Gets the role of the newly selected audio device that raised the device change event.

public : AudioDeviceRole Role { get; }public AudioDeviceRole Role { get; }Public ReadOnly Property Role As AudioDeviceRole// You can use this property in JavaScript.
Value
AudioDeviceRole AudioDeviceRole AudioDeviceRole AudioDeviceRole

The role of the newly selected audio device that raised the device change event.

See Also

See Also