Builder

constructor(context: Context = ApplicationHolder.applicationContext, adapter: BluetoothAdapter)

Parameters

context

the Context in which Bluetooth should run

adapter

the BluetoothAdapter to use to access Bluetooth

constructor(centralManagerBuilder: () -> <Error class: unknown class> = { CBCentralManager() })

Parameters

centralManagerBuilder

a method cor creating a CBCentralManager to manage Bluetooth

constructor()
constructor()