示例#1
0
 public BleContext(BluetoothManager manager)
 {
     this.manager   = manager;
     this.Callbacks = new GattCallbacks();
     this.Devices   = new DeviceManager(manager, this.Callbacks);
 }
示例#2
0
 public GattContext(BluetoothGatt gatt, GattCallbacks callbacks)
 {
     this.Gatt      = gatt;
     this.Callbacks = callbacks;
 }
示例#3
0
 public DeviceManager(BluetoothManager manager, GattCallbacks callbacks)
 {
     this.manager   = manager;
     this.callbacks = callbacks;
 }