BluetoothLE.Droid.GattCallback.OnCharacteristicRead C# (CSharp) Method

OnCharacteristicRead() public method

Raises the characteristic read event.
public OnCharacteristicRead ( Android.Bluetooth.BluetoothGatt gatt, Android.Bluetooth.BluetoothGattCharacteristic characteristic, GattStatus status ) : void
gatt Android.Bluetooth.BluetoothGatt Gatt.
characteristic Android.Bluetooth.BluetoothGattCharacteristic Characteristic.
status GattStatus Status.
return void
		public override void OnCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, GattStatus status)
		{
			base.OnCharacteristicRead(gatt, characteristic, status);

			if (status != GattStatus.Success)
				return;

			var iChar = new Characteristic(characteristic, gatt, this);
			CharacteristicValueUpdated(this, new CharacteristicReadEventArgs(iChar));
		}