Android Open Source - BleAdapter Descriptor Read Event

From Project

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.

Java Source Code

/*from  w  ww.  j a  v  a  2 s .  c  om*/
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