BluetoothLowEnergyScanner constructor

BluetoothLowEnergyScanner({
  1. required CentralManager backend,
  2. required List<UUID> serviceIds,
})

Implementation

BluetoothLowEnergyScanner({required this.backend, required this.serviceIds}) {
  backend.discovered
      .listen((device) => addPeripheral(_createPeripheral(device)));
}