public abstract class BluetoothAttribute extends Object
BluetoothAttribute
class represents a remote or a local GATT attribute. An attribute is either a
characteristic or a descriptor.
This class provides methods to get the UUID of the attribute and to get the service to which the attribute belongs.
Modifier and Type | Method and Description |
---|---|
BluetoothService |
getService()
Returns the service to which this attribute belongs.
|
BluetoothUuid |
getUuid()
Returns the UUID of this attribute.
|
public BluetoothService getService()
public BluetoothUuid getUuid()