Package ej.bluetooth
Class BluetoothCharacteristic
- java.lang.Object
-
- ej.bluetooth.BluetoothAttribute
-
- ej.bluetooth.BluetoothCharacteristic
-
public class BluetoothCharacteristic extends BluetoothAttribute
-
-
Constructor Summary
Constructors Constructor Description BluetoothCharacteristic(BluetoothUuid uuid, byte properties, short handle, BluetoothService service)Not in API.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDescriptor(BluetoothDescriptor descriptor)Not in API.BluetoothDescriptorgetDescriptor(int index)BluetoothDescriptor[]getDescriptors()Not in API.intgetNumDescriptors()bytegetProperties()BluetoothServicegetService()booleanuseWriteWithoutResponse()Not in API.-
Methods inherited from class ej.bluetooth.BluetoothAttribute
getHandle, getUuid
-
-
-
-
Constructor Detail
-
BluetoothCharacteristic
public BluetoothCharacteristic(BluetoothUuid uuid, byte properties, short handle, BluetoothService service)
Not in API.
-
-
Method Detail
-
addDescriptor
public void addDescriptor(BluetoothDescriptor descriptor)
Not in API.
-
getProperties
public byte getProperties()
-
getNumDescriptors
public int getNumDescriptors()
-
getDescriptor
public BluetoothDescriptor getDescriptor(int index)
-
getDescriptors
public BluetoothDescriptor[] getDescriptors()
Not in API.
-
getService
public BluetoothService getService()
- Specified by:
getServicein classBluetoothAttribute
-
useWriteWithoutResponse
public boolean useWriteWithoutResponse()
Not in API.- Specified by:
useWriteWithoutResponsein classBluetoothAttribute
-
-