public Descriptor(BluetoothGattDescriptor nativeDescriptor, BluetoothGatt gatt, IGattCallback gattCallback, ICharacteristic characteristic) : base(characteristic) { this._gattCallback = gattCallback; this._gatt = gatt; this._nativeDescriptor = nativeDescriptor; }
public Characteristic(BluetoothGattCharacteristic nativeCharacteristic, BluetoothGatt gatt, IGattCallback gattCallback, Service service) : this(service) { NativeCharacteristic = nativeCharacteristic; _gatt = gatt; _gattCallback = gattCallback; }
public Descriptor(BluetoothGattDescriptor nativeDescriptor, BluetoothGatt gatt, IGattCallback gattCallback) { _gattCallback = gattCallback; _gatt = gatt; _nativeDescriptor = nativeDescriptor; }
public Characteristic(BluetoothGattCharacteristic nativeCharacteristic, BluetoothGatt gatt, IGattCallback gattCallback) { _nativeCharacteristic = nativeCharacteristic; _gatt = gatt; _gattCallback = gattCallback; }
internal Service(BluetoothGattService nativeService, BluetoothGatt gatt, IGattCallback gattCallback, Device device) : this(device) { NativeService = nativeService; _gatt = gatt; _gattCallback = gattCallback; }
public Service(BluetoothGattService nativeService, BluetoothGatt gatt, IGattCallback gattCallback, IDevice device) : base(device) { this._nativeService = nativeService; this._gatt = gatt; this._gattCallback = gattCallback; }
public Characteristic(BluetoothGattCharacteristic nativeCharacteristic, BluetoothGatt gatt, IGattCallback gattCallback, IService service) : base(service) { _nativeCharacteristic = nativeCharacteristic; _gatt = gatt; _gattCallback = gattCallback; }
public Descriptor(BluetoothGattDescriptor nativeDescriptor, BluetoothGatt gatt, IGattCallback gattCallback, Characteristic characteristic) : this(characteristic) { NativeDescriptor = nativeDescriptor; _gattCallback = gattCallback; _gatt = gatt; }
public void Update(BluetoothDevice nativeDevice, BluetoothGatt gatt, IGattCallback gattCallback) { _nativeDevice = nativeDevice; _gatt = gatt; _gattCallback = gattCallback; }
public Device(BluetoothDevice nativeDevice, BluetoothGatt gatt, IGattCallback gattCallback, int rssi, byte[] advertisementData = null) : base() { Update(nativeDevice, gatt, gattCallback); this._rssi = rssi; _advertisementData = advertisementData ?? new byte[0]; }
public void Update(BluetoothDevice nativeDevice, BluetoothGatt gatt, IGattCallback gattCallback) { _nativeDevice = nativeDevice; _gatt = gatt; _gattCallback = gattCallback; Id = ParseDeviceId(); Name = _nativeDevice.Name; }
public Service(BluetoothGattService nativeService, BluetoothGatt gatt, IGattCallback _gattCallback) { this._nativeService = nativeService; this._gatt = gatt; this._gattCallback = _gattCallback; }
public Service(BluetoothGattService nativeService, BluetoothGatt gatt, IGattCallback gattCallback) { _nativeService = nativeService; _gatt = gatt; _gattCallback = gattCallback; }
public Device(Adapter adapter, BluetoothDevice nativeDevice, BluetoothGatt gatt, IGattCallback gattCallback, int rssi, byte[] advertisementData = null) : base(adapter) { Update(nativeDevice, gatt, gattCallback); Rssi = rssi; AdvertisementRecords = ParseScanRecord(advertisementData); }