Ejemplo n.º 1
0
 internal GattService(CBPeripheral peripheral, PeripheralDelegate @delegate, Peripheral parent, CBService service)
 {
     this.peripheral = peripheral;
     this.@delegate  = @delegate;
     Peripheral      = parent;
     this.service    = service;
 }
Ejemplo n.º 2
0
 internal GattDescriptor(
     CBPeripheral peripheral,
     PeripheralDelegate @delegate,
     GattCharacteristic characteristic,
     CBDescriptor descriptor)
 {
     this.peripheral = peripheral;
     this.@delegate  = @delegate;
     Characteristic  = characteristic;
     this.descriptor = descriptor;
 }
Ejemplo n.º 3
0
 internal GattCharacteristic(
     CBPeripheral peripheral,
     PeripheralDelegate @delegate,
     GattService service,
     CBCharacteristic characteristic)
 {
     this.peripheral     = peripheral;
     this.@delegate      = @delegate;
     Service             = service;
     this.characteristic = characteristic;
 }
Ejemplo n.º 4
0
 internal Peripheral(
     CBCentralManager central,
     CentralManagerDelegate centralDelegate,
     CBPeripheral peripheral)
 {
     this.central         = central;
     this.centralDelegate = centralDelegate;
     @delegate            = new PeripheralDelegate();
     this.peripheral      = peripheral;
     peripheral.Delegate  = @delegate;
 }