CurrentBluetoothStatusCodes 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.
public enum CurrentBluetoothStatusCodes
type CurrentBluetoothStatusCodes =
- Inheritance
-
CurrentBluetoothStatusCodes
Fields
| Name | Value | Description |
|---|---|---|
| Success | 0 | Indicates that the API call was successful. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorBluetoothNotEnabled | 1 | Error code indicating that Bluetooth is not enabled. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorBluetoothNotAllowed | 2 | Error code indicating that the API call was initiated by neither the system nor the active user. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorDeviceNotBonded | 3 | Error code indicating that the Bluetooth Device specified is not bonded. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorMissingBluetoothConnectPermission | 6 | Error code indicating that the caller does not have the Manifest.permission.BLUETOOTH_CONNECT permission. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorProfileServiceNotBound | 9 | Error code indicating that the profile service is not bound. You can bind a profile service by calling BluetoothAdapter.getProfileProxy(Context,BluetoothProfile.ServiceListener,int). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FeatureSupported | 10 | Indicates that the feature is supported. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FeatureNotSupported | 11 | Indicates that the feature is not supported. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FeatureNotConfigured | 30 | Indicates that the feature status is not configured yet. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorGattWriteNotAllowed | 200 | A GATT writeCharacteristic request is not permitted on the remote device. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorGattWriteRequestBusy | 201 | A GATT writeCharacteristic request is issued to a busy remote device. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorSdpDiscoveryFailed | 1400 | Profile service not found with SDP discovery. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorStreamConnectionFailed | 1401 | Profile stream connection failed. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorRoleSwitchFailed | 1402 | Profile connection failed due to role management related issues. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorAvdtpDiscoveryFailed | 1403 | AVDTP discovery failed to find available SEPs on the peer device. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorInsufficientResources | 1404 | Profile connection failed from insufficient resources, local or remote. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorRfcommConnectionFailed | 1405 | Rfcomm connection failed. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| ErrorUnknown | 2147483647 | Indicates that an unknown error has occurred. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |