AudioRoutingEndpoint AudioRoutingEndpoint AudioRoutingEndpoint AudioRoutingEndpoint AudioRoutingEndpoint Enum

Definition

Lists the audio endpoints that can be explicitly set.

public : enum class AudioRoutingEndpoint
enum class winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint : int32_t
public enum AudioRoutingEndpoint
Public Enum AudioRoutingEndpoint
var value = Windows.Phone.Media.Devices.AudioRoutingEndpoint.bluetooth;
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]

Fields

Bluetooth Bluetooth Bluetooth Bluetooth Bluetooth 3

A Bluetooth device.

BluetoothPreferred BluetoothPreferred BluetoothPreferred BluetoothPreferred BluetoothPreferred 7

A Bluetooth device is preferred.

BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation 6

A Bluetooth device with noise and echo cancellation.

Default Default Default Default Default 0

The default audio endpoint. The default endpoint is a wired headset, if available; otherwise, the handset.

Earpiece Earpiece Earpiece Earpiece Earpiece 1

An earpiece.

Speakerphone Speakerphone Speakerphone Speakerphone Speakerphone 2

The speakerphone.

WiredHeadset WiredHeadset WiredHeadset WiredHeadset WiredHeadset 4

A wired headset.

WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly 5

A wired headset for output only; the input is received from the default microphone.

Remarks

Note that the options in this list are not the same as in the AvailableAudioRoutingEndpoints enumeration. Some audio endpoints, such as a wired headset, cannot be set by software.

The APIs in the Windows.Phone.Media.Devices namespace require the ID_CAP_VOIP or ID_CAP_VOICEMAIL capability.