Class Configuration

java.lang.Object
com.gluonhq.attach.ble.Configuration

public class Configuration extends Object
  • Constructor Details

    • Configuration

      public Configuration(String uuid)
      Create a configuration that allows to listen to the specified UUID
      Parameters:
      uuid - the uuid of the beacons we will be monitoring/scanning
  • Method Details

    • addUuid

      public void addUuid(String uuid)
      Adds a uuid to the list of beacons we want to monitor/scan
      Parameters:
      uuid - the UUID of the beacons we want to follow
    • removeUuid

      public void removeUuid(String uuid)
      Remove this uuid from the list of uuid-beacons we want to monitor/scan
      Parameters:
      uuid - the uuid we want to remove
    • getUuids

      public List<String> getUuids()
      Returns a list of uuids this configuration allows to monitor/scan. This method never returns null.
      Returns:
      the list of uuids, or an empty list of we don't want to follow a specific uuid.