WinBleConnector constructor

WinBleConnector({
  1. required String deviceId,
  2. required List<String> serviceIds,
})

Implementation

WinBleConnector({required this.deviceId, required this.serviceIds}) {
  backend.WinBle.connectionStreamOf(deviceId).listen((isConnected) {
    _updateConnectorStatus(isConnected
        ? BleConnectorStatus.connected
        : BleConnectorStatus.disconnected);
  });
}