InitConfig.withBleDevice constructor

InitConfig.withBleDevice()

Constructor for initialization using a ble device. Doesn't need a license file, it will be fetched automatically from your ble device.

Android only. Requires btdevice plugin.

Implementation

InitConfig.withBleDevice() : _license = ByteData(0) {
  if (!Platform.isAndroid) {
    throw PlatformException(
      code: "android-only",
      message: "withBleDevice constructor is accessible only on Android",
    );
  }
  _useBleDevice = true;
}