Android Open Source - Android-BleEventAdapter Service Discovered 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

/*from   ww  w. ja  v a2 s  .  c  o  m*/
import android.bluetooth.BluetoothGatt;

public class ServiceDiscoveredEvent {

    private final int mStatus;
    private final BluetoothGatt mGatt;

    public ServiceDiscoveredEvent(BluetoothGatt gatt, int status) {
        mGatt = gatt;
        mStatus = status;

    public BluetoothGatt getmGatt() {
        return mGatt;

    public int getmStatus() {
        return mStatus;

    public String toString() {
        return "ServiceDiscoveredEvent{" +
                "mStatus=" + mStatus +
                ", mGatt=" + mGatt +

Java Source Code List