INNER CODE UNIT · Dart

BleManager

dotintent/FlutterBleLib · lib/ble_manager.dart:33

abstract class BleManager {
  static BleManager? _instance;

  factory BleManager() {
    var instance = _instance;
    if (instance == null) {
      instance = InternalBleManager();
      _instance = instance;
    }

    return instance;
  }

  /// Cancels transaction's return, resulting in [BleError] with
  /// [BleError.errorCode] set to [BleErrorCode.operationCancelled] being returned
  /// from transaction's Future.
  ///
  /// The operation might be cancelled if it hadn't yet started or be run

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…