AudioEndpointChanged event
Collapse the table of content
Expand the table of content

AudioRoutingManager.AudioEndpointChanged | audioendpointchanged event

Occurs when the audio endpoint currently in use has changed, or when the set of available audio endpoints has changed.

Syntax


function onAudioEndpointChanged(eventArgs) { /* Your code */ }
 
// addEventListener syntax
audioRoutingManager.addEventListener("audioendpointchanged", onAudioEndpointChanged);
audioRoutingManager.removeEventListener("audioendpointchanged", onAudioEndpointChanged);
 
- or -

audioRoutingManager.onaudioendpointchanged = onAudioEndpointChanged;


Event information

Delegate TypedEventHandler<AudioRoutingManager, Object>

Remarks

This event is raised even when the application itself has requested the change by calling SetAudioEndpoint.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

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

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

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

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.WinMD

Capabilities

ID_CAP_VOIP [Windows Phone]

See also

AudioRoutingManager

 

 

Show:
© 2016 Microsoft