DefaultAudioRenderDeviceChangedEventArgs
DefaultAudioRenderDeviceChangedEventArgs
DefaultAudioRenderDeviceChangedEventArgs
DefaultAudioRenderDeviceChangedEventArgs
Class
Definition
Contains information about a default audio render device change event.
public : sealed class DefaultAudioRenderDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgspublic sealed class DefaultAudioRenderDeviceChangedEventArgs : IDefaultAudioDeviceChangedEventArgsPublic NotInheritable Class DefaultAudioRenderDeviceChangedEventArgs 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.DefaultAudioRenderDeviceChanged event and is returned as an argument to the TypedEventHandler delegate.
Properties
Id Id Id Id
Gets the ID of the newly selected default audio render 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 default audio render device that caused the change event.
Role Role Role Role
Gets the role of the newly selected default audio render 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.
The role of the newly selected default audio render device that caused the change event.
- See Also