WriteResult

Represents possible write operation results, as defined by Android's WriteOperationReturnValues IntDef.

Entries

Link copied to clipboard

Error code indicating that the Bluetooth Device specified is not connected, but is bonded.

Link copied to clipboard

A GATT writeCharacteristic request is not permitted on the remote device.

Link copied to clipboard

A GATT writeCharacteristic request is issued to a busy remote device.

Link copied to clipboard

Error code indicating that the caller does not have the BLUETOOTH_CONNECT permission.

Link copied to clipboard

Error code indicating that the profile service is not bound. You can bind a profile service by calling BluetoothAdapter.getProfileProxy.

Link copied to clipboard

Indicates that an unknown error has occurred.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.