DefaultAudioRenderDeviceChangedEventArgs class

DefaultAudioRenderDeviceChangedEventArgs class

Contains information about a default audio render device change event.

Syntax


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

Members

The DefaultAudioRenderDeviceChangedEventArgs class has these types of members:

Methods

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

Properties

The DefaultAudioRenderDeviceChangedEventArgs class has these properties.

PropertyAccess typeDescription

Id

Read-only

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

Role

Read-only

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

 

Remarks

This object is not instantiated directly. It is created by the MediaDevice.DefaultAudioRenderDeviceChanged 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.DefaultAudioRenderDeviceChanged
TypedEventHandler

 

 

Show:
© 2016 Microsoft