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.
package com.thedamfr.android.BleEventAdapter.events; /*w ww.j a va2 s. c o m*/ import android.bluetooth.BluetoothGatt; public class GattConnectionStateChangedEvent { private final BluetoothGatt mGatt; private final int mStatus; private final int mNewState; public GattConnectionStateChangedEvent(BluetoothGatt gatt, int status, int gattConnectionState) { mGatt = gatt; mStatus = status; mNewState = gattConnectionState; } public BluetoothGatt getmGatt() { return mGatt; } public int getmStatus() { return mStatus; } public int getmNewState() { return mNewState; } @Override public String toString() { return "GattConnectionStateChangedEvent{" + "mGatt=" + mGatt + ", mStatus=" + mStatus + ", mNewState=" + mNewState + '}'; } }