AvailableAudioRoutingEndpoints 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.
Indicates which audio endpoints are available.
This enumeration supports a bitwise combination of its member values.
public enum class AvailableAudioRoutingEndpoints
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
enum class AvailableAudioRoutingEndpoints
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public enum AvailableAudioRoutingEndpoints
var value = Windows.Phone.Media.Devices.AvailableAudioRoutingEndpoints.none
Public Enum AvailableAudioRoutingEndpoints
- Inheritance
-
AvailableAudioRoutingEndpoints
- 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 |
---|---|---|
None | 0 | No audio endpoints are available. |
Earpiece | 1 | An earpiece is available. |
Speakerphone | 2 | The speakerphone is available. |
Bluetooth | 4 | A Bluetooth device is available. |
Remarks
Note that the options in this list are not the same as in the AudioRoutingEndpoints enumeration. Some audio endpoints, such as a wired headset, cannot be set by software.