AudioRoutingEndpoint enumeration
Collapse the table of content
Expand the table of content

AudioRoutingEndpoint enumeration

Lists the audio endpoints that can be explicitly set.

Syntax


public enum class AudioRoutingEndpoint

Members

The AudioRoutingEndpoint enumeration has these members.

MemberValueDescription
Default | default0

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

Earpiece | earpiece1

An earpiece.

Speakerphone | speakerphone2

The speakerphone.

Bluetooth | bluetooth3

A Bluetooth device.

WiredHeadset | wiredHeadset4

A wired headset.

WiredHeadsetSpeakerOnly | wiredHeadsetSpeakerOnly5

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

BluetoothWithNoiseAndEchoCancellation | bluetoothWithNoiseAndEchoCancellation6

A Bluetooth device with noise and echo cancellation.

BluetoothPreferred | bluetoothPreferred7

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.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.Media.Devices
Windows::Phone::Media::Devices [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Capabilities

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Media.Devices
Windows::Phone::Media::Devices [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_VOIP [Windows Phone]

Attributes

[Version(0x06020000)]

 

 

Show:
© 2016 Microsoft