DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs Class

Definition

Contains information about a default audio capture device change event.

public : sealed class DefaultAudioCaptureDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgspublic sealed class DefaultAudioCaptureDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgsPublic NotInheritable Class DefaultAudioCaptureDeviceChangedEventArgs Implements IDefaultAudioDeviceChangedEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is not instantiated directly. It is created by the MediaDevice.DefaultAudioCaptureDeviceChanged event and is returned as an argument to the TypedEventHandler delegate.

Properties

Id Id Id Id

Gets the ID of the newly selected audio capture device that caused the 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 capture device that caused the change event.

Role Role Role Role

Gets the role of the newly selected audio capture device that caused the 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 capture device that caused the change event.

See Also