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.
package com.indy.labs.android.BleEventAdapter.events; //from w w w .j a v a2 s .c om import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattDescriptor; public class DescriptorWriteEvent { private final BluetoothGatt mGatt; private final BluetoothGattDescriptor mDescriptor; private final int mStatus; public DescriptorWriteEvent(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) { mGatt = gatt; mDescriptor = descriptor; mStatus = status; } public BluetoothGatt getmGatt() { return mGatt; } public BluetoothGattDescriptor getDescriptor() { return mDescriptor; } public int getStatus() { return mStatus; } }