native

fun CentralManager.Factory.native(context: Context, scope: CoroutineScope): CentralManager

Creates a CentralManager implementation which is using native Android API to scan and connect to physical Bluetooth LE devices.

Parameters

context

Android context, needed to connect to peripherals and listen to system events.

scope

The coroutine scope.