public DeviceContext(CentralContext context, BluetoothDevice device) { this.CentralContext = context; this.NativeDevice = device; this.Actions = new ConcurrentQueue <Func <Task> >(); this.connErrorSubject = new Subject <BleException>(); }
public ShinyBleCentralBroadcastReceiver() { this.context = ShinyHost.Resolve <CentralContext>(); }