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

//from   w  w  w .j  a v  a  2  s. c o  m
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattDescriptor;

public class DescriptorReadEvent {
    private final BluetoothGatt mGatt;
    private final BluetoothGattDescriptor mDescriptor;
    private final int mStatus;

    public DescriptorReadEvent(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) {
        mGatt = gatt;
        mDescriptor = descriptor;
        mStatus = status;

    public BluetoothGatt getmGatt() {
        return mGatt;

    public BluetoothGattDescriptor getmDescriptor() {
        return mDescriptor;

    public int getmStatus() {
        return mStatus;

Java Source Code List