createClient
abstract fun createClient(scannerSettingsBuilder: (Permissions) -> BaseScanner.Settings = { BaseScanner.Settings(it) }, coroutineContext: CoroutineContext = defaultBluetoothClientDispatcher): BluetoothClient
Creates a BluetoothClient object
Return
the created BluetoothClient
Parameters
scannerSettingsBuilder
a method for getting the BaseScanner.Settings to be used while scanning from a CoroutineContext
coroutineContext
the CoroutineContext in which Bluetooth runs