DefaultAudioCaptureDeviceChangedEventArgs class

DefaultAudioCaptureDeviceChangedEventArgs class

Contains information about a default audio capture device change event.

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The DefaultAudioCaptureDeviceChangedEventArgs class has these types of members:

Methods

The DefaultAudioCaptureDeviceChangedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The DefaultAudioCaptureDeviceChangedEventArgs class has these properties.

PropertyAccess typeDescription

Id

Read-only

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

Role

Read-only

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

 

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
IDefaultAudioDeviceChangedEventArgs
MediaDevice.DefaultAudioCaptureDeviceChanged
TypedEventHandler

 

 

Show:
© 2016 Microsoft