Share via


IDefaultAudioDeviceChangedEventArgs Interface

Definition

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

public interface class IDefaultAudioDeviceChangedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(286230575, 7173, 18007, 161, 142, 71, 201, 182, 159, 7, 171)]
struct IDefaultAudioDeviceChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(286230575, 7173, 18007, 161, 142, 71, 201, 182, 159, 7, 171)]
public interface IDefaultAudioDeviceChangedEventArgs
Public Interface IDefaultAudioDeviceChangedEventArgs
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Id

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

Role

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

Applies to

See also