public Device(BleContext context, CBPeripheral peripheral) : base(peripheral.Name, peripheral.Identifier.ToGuid()) { this.context = context; this.peripheral = peripheral; }
public Adapter() { this.manager = (BluetoothManager)Application.Context.GetSystemService(Application.BluetoothService); this.context = new BleContext(this.manager); this.scanStatusChanged = new Subject <bool>(); }