AudioRoutingEndpoint Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the audio endpoints that can be explicitly set.
public enum class AudioRoutingEndpoint
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class AudioRoutingEndpoint
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum AudioRoutingEndpoint
var value = Windows.Phone.Media.Devices.AudioRoutingEndpoint.default
Public Enum AudioRoutingEndpoint
- Inheritance
-
AudioRoutingEndpoint
- 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]
|
Fields
Name | Value | Description |
---|---|---|
Default | 0 | The default audio endpoint. The default endpoint is a wired headset, if available; otherwise, the handset. |
Earpiece | 1 | An earpiece. |
Speakerphone | 2 | The speakerphone. |
Bluetooth | 3 | A Bluetooth device. |
WiredHeadset | 4 | A wired headset. |
WiredHeadsetSpeakerOnly | 5 | A wired headset for output only; the input is received from the default microphone. |
BluetoothWithNoiseAndEchoCancellation | 6 | A Bluetooth device with noise and echo cancellation. |
BluetoothPreferred | 7 | A Bluetooth device is preferred. |
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.