Class AndroidBluetoothClientScannerCallback
Inheritance
System.Object
AndroidBluetoothClientScannerCallback
Assembly: SensusAndroid.dll
Syntax
public class AndroidBluetoothClientScannerCallback : ScanCallback
Constructors
AndroidBluetoothClientScannerCallback(BluetoothGattService, BluetoothGattCharacteristic, AndroidBluetoothDeviceProximityProbe)
Declaration
public AndroidBluetoothClientScannerCallback(BluetoothGattService service, BluetoothGattCharacteristic characteristic, AndroidBluetoothDeviceProximityProbe probe)
Parameters
Methods
OnBatchScanResults(IList<ScanResult>)
Declaration
public override void OnBatchScanResults(IList<ScanResult> results)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<Android.Bluetooth.LE.ScanResult> |
results |
|
OnScanResult(ScanCallbackType, ScanResult)
Declaration
public override void OnScanResult(ScanCallbackType callbackType, ScanResult result)
Parameters
Type |
Name |
Description |
Android.Bluetooth.LE.ScanCallbackType |
callbackType |
|
Android.Bluetooth.LE.ScanResult |
result |
|
ReadPeripheralCharacteristicValuesAsync(CancellationToken)
Declaration
public Task<List<Tuple<string, DateTimeOffset>>> ReadPeripheralCharacteristicValuesAsync(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<System.Tuple<System.String, System.DateTimeOffset>>> |
|