Ejemplo n.º 1
0
 protected async override Task <List <BluetoothDeviceProximityDatum> > ReadPeripheralCharacteristicValuesAsync(CancellationToken cancellationToken)
 {
     if (ScanMode == BluetoothScanModes.LE)
     {
         return(await _bluetoothScannerCallback.ReadPeripheralCharacteristicValuesAsync(cancellationToken));
     }
     else
     {
         return(await CreateBluetoothData(cancellationToken));
     }
 }
 protected override Task <List <Tuple <string, DateTimeOffset> > > ReadPeripheralCharacteristicValuesAsync(CancellationToken cancellationToken)
 {
     return(_bluetoothScannerCallback.ReadPeripheralCharacteristicValuesAsync(cancellationToken));
 }