AudioRoutingEndpoint
AudioRoutingEndpoint
AudioRoutingEndpoint
AudioRoutingEndpoint
Enum
Definition
Lists the audio endpoints that can be explicitly set.
public : enum class AudioRoutingEndpointpublic enum AudioRoutingEndpointPublic Enum AudioRoutingEndpoint// You can use this enum in JavaScript.
- 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 | A Bluetooth device. |
| BluetoothPreferred BluetoothPreferred BluetoothPreferred BluetoothPreferred | A Bluetooth device is preferred. |
| BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation BluetoothWithNoiseAndEchoCancellation | A Bluetooth device with noise and echo cancellation. |
| Default Default Default Default | The default audio endpoint. The default endpoint is a wired headset, if available; otherwise, the handset. |
| Earpiece Earpiece Earpiece Earpiece | An earpiece. |
| Speakerphone Speakerphone Speakerphone Speakerphone | The speakerphone. |
| WiredHeadset WiredHeadset WiredHeadset WiredHeadset | A wired headset. |
| WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly WiredHeadsetSpeakerOnly | 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.