Back to project page BleAdapter.
The source code is released under:
Apache License
If you think the Android project BleAdapter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.indy.labs.android.BleEventAdapter.events; // ww w. j a v a 2s . c om import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; public class CharacteristicChangedEvent { private final BluetoothGatt mGatt; private final BluetoothGattCharacteristic mCharacteristic; public CharacteristicChangedEvent(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { mGatt = gatt; mCharacteristic = characteristic; } public BluetoothGatt getGatt() { return mGatt; } public BluetoothGattCharacteristic getCharacteristic() { return mCharacteristic; } @Override public String toString() { return "CharacteristicWriteEvent{" + "mGatt=" + mGatt + ", mCharacteristic=" + mCharacteristic + '}'; } }