AudioRoutingManager AudioRoutingManager AudioRoutingManager AudioRoutingManager AudioRoutingManager Class

Definition

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

public : sealed class AudioRoutingManager : IAudioRoutingManager
struct winrt::Windows::Phone::Media::Devices::AudioRoutingManager : IAudioRoutingManager
public sealed class AudioRoutingManager : IAudioRoutingManager
Public NotInheritable Class AudioRoutingManager Implements IAudioRoutingManager
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)
Capabilities
ID_CAP_VOIP [Windows Phone]

Remarks

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

Properties

AvailableAudioEndpoints AvailableAudioEndpoints AvailableAudioEndpoints AvailableAudioEndpoints AvailableAudioEndpoints

Gets the list of available audio routing endpoints.

Methods

GetAudioEndpoint() GetAudioEndpoint() GetAudioEndpoint() GetAudioEndpoint() GetAudioEndpoint()

Gets the audio endpoint currently in use.

GetDefault() GetDefault() GetDefault() GetDefault() GetDefault()

Gets the default instance of the AudioRoutingManager class.

SetAudioEndpoint(AudioRoutingEndpoint) SetAudioEndpoint(AudioRoutingEndpoint) SetAudioEndpoint(AudioRoutingEndpoint) SetAudioEndpoint(AudioRoutingEndpoint) SetAudioEndpoint(AudioRoutingEndpoint)

Requests a different audio endpoint.

Events

AudioEndpointChanged AudioEndpointChanged AudioEndpointChanged AudioEndpointChanged AudioEndpointChanged

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