DefaultAudioRenderDeviceChangedEventArgs class

Applies to Windows and Windows Phone

Contains information about a default audio render device change event.

Syntax


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

Attributes

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

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

Role

Read-onlyGets 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

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

See also

MediaDevice.DefaultAudioRenderDeviceChanged
TypedEventHandler

 

 

Show:
© 2014 Microsoft