コード例 #1
0
 public Peripheral(ManagerContext managerContext, BluetoothLEDevice native)
 {
     this.context = new PeripheralContext(managerContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId().ToString();
 }
コード例 #2
0
 public Device(AdapterContext adapterContext, BluetoothLEDevice native)
 {
     this.context = new DeviceContext(adapterContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId();
 }
コード例 #3
0
 public Peripheral(CentralContext adapterContext, BluetoothLEDevice native)
 {
     this.context = new DeviceContext(adapterContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId();
 }