Class iOSBluetoothDeviceProximityProbeCentralManagerDelegate
iOS BLE central (scanner/client) delegate class. Receives events related to BLE scanning and
characteristic reading.
Inheritance
System.Object
iOSBluetoothDeviceProximityProbeCentralManagerDelegate
Assembly: SensusiOS.dll
Syntax
public class iOSBluetoothDeviceProximityProbeCentralManagerDelegate : CBCentralManagerDelegate
Constructors
iOSBluetoothDeviceProximityProbeCentralManagerDelegate(CBMutableService, CBMutableCharacteristic, iOSBluetoothDeviceProximityProbe)
Declaration
public iOSBluetoothDeviceProximityProbeCentralManagerDelegate(CBMutableService service, CBMutableCharacteristic characteristic, iOSBluetoothDeviceProximityProbe probe)
Parameters
Methods
ConnectedPeripheral(CBCentralManager, CBPeripheral)
Declaration
public override void ConnectedPeripheral(CBCentralManager central, CBPeripheral peripheral)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
CoreBluetooth.CBPeripheral |
peripheral |
|
DisconnectedPeripheral(CBCentralManager, CBPeripheral, NSError)
Declaration
public override void DisconnectedPeripheral(CBCentralManager central, CBPeripheral peripheral, NSError error)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
CoreBluetooth.CBPeripheral |
peripheral |
|
Foundation.NSError |
error |
|
DiscoveredPeripheral(CBCentralManager, CBPeripheral, NSDictionary, NSNumber)
Declaration
public override void DiscoveredPeripheral(CBCentralManager central, CBPeripheral peripheral, NSDictionary advertisementData, NSNumber RSSI)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
CoreBluetooth.CBPeripheral |
peripheral |
|
Foundation.NSDictionary |
advertisementData |
|
Foundation.NSNumber |
RSSI |
|
FailedToConnectPeripheral(CBCentralManager, CBPeripheral, NSError)
Declaration
public override void FailedToConnectPeripheral(CBCentralManager central, CBPeripheral peripheral, NSError error)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
CoreBluetooth.CBPeripheral |
peripheral |
|
Foundation.NSError |
error |
|
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>>> |
|
UpdatedState(CBCentralManager)
Declaration
public override void UpdatedState(CBCentralManager central)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
WillRestoreState(CBCentralManager, NSDictionary)
Declaration
public override void WillRestoreState(CBCentralManager central, NSDictionary dict)
Parameters
Type |
Name |
Description |
CoreBluetooth.CBCentralManager |
central |
|
Foundation.NSDictionary |
dict |
|