native
fun CentralManager.Factory.native(environment: NativeAndroidEnvironment, scope: CoroutineScope): CentralManager
Creates a CentralManager implementation which is using native Android API to scan and connect to physical Bluetooth LE devices.
Parameters
environment
Native Android environment object. Use NativeAndroidEnvironment.instance. Remember to call NativeAndroidEnvironment.close to unregister the broadcast receiver.
scope
The coroutine scope.