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; //w w w . jav a2s.c o m import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; public class CharacteristicWriteEvent { private final BluetoothGatt mGatt; private final BluetoothGattCharacteristic mCharacteristic; private final int mStatus; public CharacteristicWriteEvent(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) { mGatt = gatt; mCharacteristic = characteristic; mStatus = status; } public BluetoothGatt getmGatt() { return mGatt; } public BluetoothGattCharacteristic getmCharacteristic() { return mCharacteristic; } public int getmStatus() { return mStatus; } @Override public String toString() { return "CharacteristicWriteEvent{" + "mGatt=" + mGatt + ", mCharacteristic=" + mCharacteristic + ", mStatus=" + mStatus + '}'; } }