package Ġtop . k ik t . bt . ble . bluetooth _ ble . ext Ċ Ċ import Ġandroid . bluetooth . Bluetooth GattCharacteristic Ċ Ċ /// Ġcreate Ġ 2 0 1 9 - 1 2 - 0 4 Ġby Ġc ai Ċ Ċ val ĠBluetooth GattCharacteristic . id ĊĠ Ġget () Ġ= Ġthis . uuid . toString () Ċ Ċ val ĠBluetooth GattCharacteristic . write able ĊĠ Ġget () Ġ= Ġcheck Property ( Bluetooth GattCharacteristic . PROPERTY _ WRITE ) Ċ Ċ val ĠBluetooth GattCharacteristic . write able Without Response ĊĠ Ġget () Ġ= Ġcheck Property ( Bluetooth GattCharacteristic . PROPERTY _ WRITE _ NO _ RESPONSE ) Ċ Ċ val ĠBluetooth GattCharacteristic . readable ĊĠ Ġget () Ġ= Ġcheck Property ( Bluetooth GattCharacteristic . PROPERTY _ READ ) Ċ Ċ val ĠBluetooth GattCharacteristic . not ifiable ĊĠ Ġget () Ġ= Ġcheck Property ( Bluetooth GattCharacteristic . PROPERTY _ NOTIFY ) Ċ Ċ // val ĠBluetooth GattCharacteristic . is Notify ing ĊĊ Ċ fun ĠBluetooth GattCharacteristic . toMap ( notify ing : ĠBoolean Ġ= Ġfalse ): ĠMap < String , ĠAny > Ġ= Ġmap Of ( ĊĠ Ġ" uuid " Ġto Ġthis . uuid . toString (), ĊĠ Ġ" write " Ġto Ġwrite able , ĊĠ Ġ" write able Without Response " Ġto Ġwrite able Without Response , ĊĠ Ġ" readable " Ġto Ġreadable , ĊĠ Ġ" not ifiable " Ġto Ġnot ifiable , ĊĠ Ġ" notify ing " Ġto Ġnotify ing Ċ ) Ċ Ċ fun ĠBluetooth GattCharacteristic . check Property ( value : ĠInt ): ĠBoolean Ġ{ ĊĠ Ġreturn Ġthis . properties Ġand Ġvalue Ġ!= Ġ 0 Ċ }