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