DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs DefaultAudioCaptureDeviceChangedEventArgs Class

Definition

Contains information about a default audio capture device change event.

public : sealed class DefaultAudioCaptureDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgs
public sealed class DefaultAudioCaptureDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgs
Public NotInheritable Class DefaultAudioCaptureDeviceChangedEventArgs Implements IDefaultAudioDeviceChangedEventArgs
// This class does not provide a public constructor.
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
var string = defaultAudioCaptureDeviceChangedEventArgs.id;
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
var audioDeviceRole = defaultAudioCaptureDeviceChangedEventArgs.role;
Value
AudioDeviceRole AudioDeviceRole AudioDeviceRole AudioDeviceRole

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

See Also