Package ej.bluetooth

## Class BluetoothAttribute

- java.lang.Object
- - ej.bluetooth.BluetoothAttribute

- Direct Known Subclasses:
    `BluetoothCharacteristic`, `BluetoothDescriptor`

      public abstract class BluetoothAttribute
      extends Object

  The `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.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BluetoothAttribute()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BluetoothService` | `getService()` | Returns the service to which this attribute belongs.
    `BluetoothUuid` | `getUuid()` | Returns the UUID of this attribute.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BluetoothAttribute

          public BluetoothAttribute()

  - ### Method Detail

    - #### getUuid

          public BluetoothUuid getUuid()

      Returns the UUID of this attribute.
      Returns:
        the UUID of this attribute.

    - #### getService

          public BluetoothService getService()

      Returns the service to which this attribute belongs.
      Returns:
        the service to which this attribute belongs.