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