Example #1
0
 public Peripheral(AdapterContext context, CBPeripheral native) : base(native.Name, native.Identifier.ToGuid())
 {
     this.context = context;
     this.Native  = native;
 }
Example #2
0
 public Peripheral(AdapterContext adapterContext, BluetoothLEDevice native)
 {
     this.context = new DeviceContext(adapterContext, this, native);
     this.Name    = native.Name;
     this.Uuid    = native.GetDeviceId();
 }