Android Open Source - Android-BleEventAdapter Characteristic Read Event

From Project

Back to project page Android-BleEventAdapter.


The source code is released under:

Apache License

If you think the Android project Android-BleEventAdapter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*w w w .j a  v a  2  s .c  om*/
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;

public class CharacteristicReadEvent {

    private final BluetoothGatt mGatt;
    private final BluetoothGattCharacteristic mCharacteristic;
    private final int mStatus;

    public CharacteristicReadEvent(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;

Java Source Code List