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; /*from w w w . j a v a 2s. c o m*/ 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; } }