toggle menu
lib
androidJvm
switch theme
search in API
lib
/
quevedo.soares.leandro.blemadeeasy.models
/
BluetoothCharacteristic
Bluetooth
Characteristic
data
class
BluetoothCharacteristic
(
characteristic
:
BluetoothGattCharacteristic
)
Members
Constructors
Bluetooth
Characteristic
Link copied to clipboard
constructor
(
characteristic
:
BluetoothGattCharacteristic
)
Properties
descriptors
Link copied to clipboard
val
descriptors
:
MutableList
<
BluetoothGattDescriptor
>
is
Notifiable
Link copied to clipboard
val
isNotifiable
:
Boolean
is
Readable
Link copied to clipboard
val
isReadable
:
Boolean
is
Writable
Link copied to clipboard
val
isWritable
:
Boolean
uuid
Link copied to clipboard
val
uuid
:
UUID
Functions
check
Uuid
Link copied to clipboard
fun
checkUuid
(
uuid
:
UUID
)
:
Boolean
disable
Notify
Link copied to clipboard
fun
disableNotify
(
gatt
:
BluetoothGatt
)
enable
Notify
Link copied to clipboard
fun
enableNotify
(
gatt
:
BluetoothGatt
)
get
Descriptor
Link copied to clipboard
fun
getDescriptor
(
characteristic
:
String
)
:
BluetoothGattDescriptor
?
read
Link copied to clipboard
fun
read
(
gatt
:
BluetoothGatt
)
:
Boolean
write
Link copied to clipboard
fun
write
(
gatt
:
BluetoothGatt
,
value
:
ByteArray
)
:
Boolean