//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/CentralManager
CentralManager
[androidJvm]\ class CentralManager(flowAppSDK: GASmartAccessReaderSDK, context: Context, callbacks: GASmartAccessReaderCallbacks)
Constructors
CentralManager | [androidJvm] constructor(flowAppSDK: GASmartAccessReaderSDK, context: Context, callbacks: GASmartAccessReaderCallbacks) |
Types
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Functions
Name | Summary |
---|---|
connectToSAR | [androidJvm] fun connectToSAR(context: Context, device: SARDevice) |
enableNotifications | [androidJvm] fun enableNotifications(characteristic: BluetoothGattCharacteristic) |
startBleScan | [androidJvm] fun startBleScan(context: Context) |
stopBleScan | [androidJvm] fun stopBleScan() |
writeDescriptor | [androidJvm] fun writeDescriptor(descriptor: BluetoothGattDescriptor, payload: ByteArray) |
writeResponse | [androidJvm] fun writeResponse(characteristic: BluetoothGattCharacteristic, value: ByteArray, identifier: String?) |