# Print output for @column tags ?>
public
final
class
BluetoothStatusCodes
extends Object
java.lang.Object | |
↳ | android.bluetooth.BluetoothStatusCodes |
A class with constants representing possible return values for Bluetooth APIs. General return values occupy the range 0 to 99. Profile-specific return values occupy the range 100-999. API-specific return values start at 1000. The exception to this is the "other" error code which occupies the max integer value.
Constants | |
---|---|
int |
ERROR_BLUETOOTH_NOT_ALLOWED
Error code indicating that the API call was initiated by neither the system nor the active Zuser |
int |
ERROR_BLUETOOTH_NOT_ENABLED
Error code indicating that Bluetooth is not enabled |
int |
ERROR_DEVICE_NOT_BONDED
Error code indicating that the Bluetooth Device specified is not bonded |
int |
ERROR_MISSING_BLUETOOTH_CONNECT_PERMISSION
Error code indicating that the caller does not have the
|
int |
ERROR_UNKNOWN
Indicates that an unknown error has occurred has occurred. |
int |
SUCCESS
Indicates that the API call was successful |
Inherited methods | |
---|---|
public static final int ERROR_BLUETOOTH_NOT_ALLOWED
Error code indicating that the API call was initiated by neither the system nor the active Zuser
Constant Value: 2 (0x00000002)
public static final int ERROR_BLUETOOTH_NOT_ENABLED
Error code indicating that Bluetooth is not enabled
Constant Value: 1 (0x00000001)
public static final int ERROR_DEVICE_NOT_BONDED
Error code indicating that the Bluetooth Device specified is not bonded
Constant Value: 3 (0x00000003)
public static final int ERROR_MISSING_BLUETOOTH_CONNECT_PERMISSION
Error code indicating that the caller does not have the
Manifest.permission.BLUETOOTH_CONNECT
permission
Constant Value: 6 (0x00000006)
public static final int ERROR_UNKNOWN
Indicates that an unknown error has occurred has occurred.
Constant Value: 2147483647 (0x7fffffff)
public static final int SUCCESS
Indicates that the API call was successful
Constant Value: 0 (0x00000000)