Example usage for Java android.bluetooth BluetoothGattDescriptor fields, constructors, methods, implement or subclass
The text is from its open source code.
null | ENABLE_NOTIFICATION_VALUE Value used to enable notification for a client configuration descriptor |
null | ENABLE_INDICATION_VALUE Value used to enable indication for a client configuration descriptor |
null | DISABLE_NOTIFICATION_VALUE Value used to disable notifications or indicatinos |
int | PERMISSION_READ Descriptor read permission |
int | PERMISSION_READ_ENCRYPTED Descriptor permission: Allow encrypted read operations |
int | PERMISSION_READ_ENCRYPTED_MITM Descriptor permission: Allow reading with man-in-the-middle protection |
int | PERMISSION_WRITE Descriptor write permission |
int | PERMISSION_WRITE_ENCRYPTED Descriptor permission: Allow encrypted writes |
int | PERMISSION_WRITE_ENCRYPTED_MITM Descriptor permission: Allow encrypted writes with man-in-the-middle protection |
int | PERMISSION_WRITE_SIGNED Descriptor permission: Allow signed write operations |
int | PERMISSION_WRITE_SIGNED_MITM Descriptor permission: Allow signed write operations with man-in-the-middle protection |
BluetoothGattDescriptor(UUID uuid, int permissions) Create a new BluetoothGattDescriptor. |
BluetoothGattCharacteristic | getCharacteristic() Returns the characteristic this descriptor belongs to. |
int | getPermissions() Returns the permissions for this descriptor. |
UUID | getUuid() Returns the UUID of this descriptor. |
byte[] | getValue() Returns the stored value for this descriptor This function returns the stored value for this descriptor as retrieved by calling BluetoothGatt#readDescriptor . |
boolean | setValue(byte[] value) Updates the locally stored value of this descriptor. |