package Ġcom . john and erson . pin ew ood der by app . ble Ċ Ċ import Ġandroid . bluetooth . Bluetooth GattCharacteristic Ċ import Ġandroid . bluetooth . Bluetooth Gatt Service Ċ import Ġandroid . os . Bundle Ċ import Ġcom . google . common . util . concurrent . List enable Future Ċ Ċ interface ĠB le Client Ġ{ ĊĠĠĠ Ġfun Ġconnect ( address : ĠString ): ĠList enable Future < Bundle > ĊĠĠĠ Ġfun Ġread Characteristic ( char : ĠBluetooth GattCharacteristic ): ĠList enable Future < Bundle > ĊĠĠĠ Ġfun Ġwrite Characteristic ( char : ĠBluetooth GattCharacteristic , Ġdata : ĠByteArray ): ĠList enable Future < Bundle > ĊĠĠĠ Ġfun Ġget Supported Gatt Services (): ĠList < Bluetooth Gatt Service >? ĊĠĠĠ Ġfun Ġdisconnect () ĊĊĠĠĠ Ġfun Ġadd Characteristic Listener ( char : ĠBluetooth GattCharacteristic , Ġf :( Bluetooth GattCharacteristic )-> Unit ): List enable Future < Bundle > ĊĠĠĠ Ġfun Ġremove Characteristic Listener ( char : ĠBluetooth GattCharacteristic , Ġf : Ġ( Bluetooth GattCharacteristic ) Ġ-> ĠUnit ): ĠList enable Future < Bundle > Ċ }