I​Default​Audio​Device​Changed​Event​Args I​Default​Audio​Device​Changed​Event​Args I​Default​Audio​Device​Changed​Event​Args Interface

Definition

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

public : interface IDefaultAudioDeviceChangedEventArgspublic interface IDefaultAudioDeviceChangedEventArgsPublic Interface IDefaultAudioDeviceChangedEventArgs
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

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
Value
PlatForm::String string string

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

Attributes

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
Value
AudioDeviceRole AudioDeviceRole AudioDeviceRole

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

Attributes
See Also

See Also