Example usage for Java android.bluetooth BluetoothGattCharacteristic fields, constructors, methods, implement or subclass
The text is from its open source code.
int | PROPERTY_BROADCAST Characteristic proprty: Characteristic is broadcastable. |
int | PROPERTY_READ Characteristic property: Characteristic is readable. |
int | PROPERTY_WRITE_NO_RESPONSE Characteristic property: Characteristic can be written without response. |
int | PROPERTY_WRITE Characteristic property: Characteristic can be written. |
int | PROPERTY_NOTIFY Characteristic property: Characteristic supports notification |
int | PROPERTY_INDICATE Characteristic property: Characteristic supports indication |
int | PROPERTY_SIGNED_WRITE Characteristic property: Characteristic supports write with signature |
int | PROPERTY_EXTENDED_PROPS Characteristic property: Characteristic has extended properties |
int | PERMISSION_READ Characteristic read permission |
int | PERMISSION_READ_ENCRYPTED Characteristic permission: Allow encrypted read operations |
int | PERMISSION_READ_ENCRYPTED_MITM Characteristic permission: Allow reading with man-in-the-middle protection |
int | PERMISSION_WRITE Characteristic write permission |
int | PERMISSION_WRITE_ENCRYPTED Characteristic permission: Allow encrypted writes |
int | PERMISSION_WRITE_ENCRYPTED_MITM Characteristic permission: Allow encrypted writes with man-in-the-middle protection |
int | PERMISSION_WRITE_SIGNED Characteristic permission: Allow signed write operations |
int | PERMISSION_WRITE_SIGNED_MITM Characteristic permission: Allow signed write operations with man-in-the-middle protection |
int | WRITE_TYPE_DEFAULT Write characteristic, requesting acknoledgement by the remote device |
int | WRITE_TYPE_NO_RESPONSE Write characteristic without requiring a response by the remote device |
int | FORMAT_UINT8 Characteristic value format type uint8 |
int | FORMAT_UINT16 Characteristic value format type uint16 |
int | FORMAT_UINT32 Characteristic value format type uint32 |
int | FORMAT_SINT8 Characteristic value format type sint8 |
BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) Create a new BluetoothGattCharacteristic. |
boolean | addDescriptor(BluetoothGattDescriptor descriptor) Adds a descriptor to this characteristic. |
BluetoothGattDescriptor | getDescriptor(UUID uuid) Returns a descriptor with a given UUID out of the list of descriptors for this characteristic. |
List | getDescriptors() Returns a list of descriptors for this characteristic. |
int | getInstanceId() Returns the instance ID for this characteristic. |
Integer | getIntValue(int formatType, int offset) Return the stored value of this characteristic. |
int | getPermissions() Returns the permissions for this characteristic. |
int | getProperties() Returns the properties of this characteristic. |
BluetoothGattService | getService() Returns the service this characteristic belongs to. |
String | getStringValue(int offset) Return the stored value of this characteristic. |
UUID | getUuid() Returns the UUID of this characteristic |
byte[] | getValue() Get the stored value for this characteristic. |
int | getWriteType() Gets the write type for this characteristic. |
boolean | setValue(byte[] value) Updates the locally stored value of this characteristic. |
boolean | setValue(String value) Set the locally stored value of this characteristic. |
boolean | setValue(int value, int formatType, int offset) Set the locally stored value of this characteristic. |
void | setWriteType(int writeType) Set the write type for this characteristic Setting the write type of a characteristic determines how the BluetoothGatt#writeCharacteristic function write this characteristic. |