AudioRoutingManager Class

Definition

Provides functionality that lets Voice over IP applications route audio to endpoints other than the speakerphone.

public ref class AudioRoutingManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AudioRoutingManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AudioRoutingManager
Public NotInheritable Class AudioRoutingManager
Inheritance
Object Platform::Object IInspectable AudioRoutingManager
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
ID_CAP_VOIP [Windows Phone]

Remarks

The APIs in the Windows.Phone.Media.Devices namespace require the ID_CAP_AUDIOROUTING capability.

Properties

AvailableAudioEndpoints

Gets the list of available audio routing endpoints.

Methods

GetAudioEndpoint()

Gets the audio endpoint currently in use.

GetDefault()

Gets the default instance of the AudioRoutingManager class.

SetAudioEndpoint(AudioRoutingEndpoint)

Requests a different audio endpoint.

Events

AudioEndpointChanged

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

Applies to