Language

CurrentBluetoothStatusCodes Enum

Definition

public enum CurrentBluetoothStatusCodes
type CurrentBluetoothStatusCodes = 
Inheritance
CurrentBluetoothStatusCodes

Fields

Name Value Description
Success 0

Indicates that the API call was successful.

Android reference for android.bluetooth.BluetoothStatusCodes.SUCCESS.

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 android.bluetooth.BluetoothStatusCodes.ERROR_BLUETOOTH_NOT_ENABLED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_BLUETOOTH_NOT_ALLOWED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_DEVICE_NOT_BONDED.

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.

Android reference for android.bluetooth.BluetoothStatusCodes.ERROR_MISSING_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 android.bluetooth.BluetoothStatusCodes.ERROR_PROFILE_SERVICE_NOT_BOUND.

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 android.bluetooth.BluetoothStatusCodes.FEATURE_SUPPORTED.

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 android.bluetooth.BluetoothStatusCodes.FEATURE_NOT_SUPPORTED.

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 android.bluetooth.BluetoothStatusCodes.FEATURE_NOT_CONFIGURED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_GATT_WRITE_NOT_ALLOWED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_GATT_WRITE_REQUEST_BUSY.

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 android.bluetooth.BluetoothStatusCodes.ERROR_SDP_DISCOVERY_FAILED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_STREAM_CONNECTION_FAILED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_ROLE_SWITCH_FAILED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_AVDTP_DISCOVERY_FAILED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_INSUFFICIENT_RESOURCES.

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 android.bluetooth.BluetoothStatusCodes.ERROR_RFCOMM_CONNECTION_FAILED.

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 android.bluetooth.BluetoothStatusCodes.ERROR_UNKNOWN.

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.

Applies to