java.lang.Object
com.gluonhq.attach.ble.Configuration
-
Constructor Summary
ConstructorDescriptionConfiguration
(String uuid) Create a configuration that allows to listen to the specified UUID -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a uuid to the list of beacons we want to monitor/scangetUuids()
Returns a list of uuids this configuration allows to monitor/scan.void
removeUuid
(String uuid) Remove this uuid from the list of uuid-beacons we want to monitor/scan
-
Constructor Details
-
Configuration
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
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
Remove this uuid from the list of uuid-beacons we want to monitor/scan- Parameters:
uuid
- the uuid we want to remove
-
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.
-