GeofencingManager Interface Reference
Geofencing Manager.
Inheritance diagram for GeofencingManager:
Public Member Functions | |
List< SetOfGeofences > | getSetOfGeofences () throws GeofencingNotAvailableException, GeofencingLowLevelException |
Gets list of sets of geofences (SOG) More... | |
SetOfGeofences | createSetOfGeofences (String id) throws GeofencingNotAvailableException, GeofencingLowLevelException |
void | feedPosition (Point position) throws GeofencingNotAvailableException, GeofencingLowLevelException |
Feed geofencing service with a custom position. More... | |
void | disableFeedPosition () throws GeofencingNotAvailableException, GeofencingLowLevelException |
Disable geofencing service feed with a custom position. More... | |
void | close () |
Public Member Functions inherited from Manager | |
String | getIp () |
String | getName () |
Boolean | isAlive () |
void | subscribe (ManagerObserver observer) throws CannotSubscribeException |
void | unSubscribe (ManagerObserver observer) throws ObserverNotSubscribedException |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
void | subscribe (T observer) throws CannotSubscribeException |
void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Member Function Documentation
void close | ( | ) |
Closes the geofencing manager. Recommended to finish properly
SetOfGeofences createSetOfGeofences | ( | String | id | ) | throws GeofencingNotAvailableException, GeofencingLowLevelException |
Creates a set of geofences
- Parameters
-
id set of geofences identifier
- Returns
- SetOfGeofences
- Exceptions
-
GeofencingNotAvailableException GeofencingLowLevelException
void disableFeedPosition | ( | ) | throws GeofencingNotAvailableException, GeofencingLowLevelException |
- Exceptions
-
GeofencingNotAvailableException GeofencingLowLevelException
void feedPosition | ( | Point | position | ) | throws GeofencingNotAvailableException, GeofencingLowLevelException |
- Parameters
-
position custom position to feed the geofencing service
- Exceptions
-
GeofencingNotAvailableException GeofencingLowLevelException
List<SetOfGeofences> getSetOfGeofences | ( | ) | throws GeofencingNotAvailableException, GeofencingLowLevelException |
- Returns
- set of geofences list
- Exceptions
-
GeofencingNotAvailableException GeofencingLowLevelException