-
- All Implemented Interfaces:
-
com.pointrlabs.core.management.GeofenceManager
,com.pointrlabs.core.management.interfaces.Advertiser
,com.pointrlabs.core.management.interfaces.Advertiser
public class GeofenceManagerImpl extends PTRAdvertiser<GeofenceManager.Listener> implements GeofenceManager, Advertiser<GeofenceManager.Listener>
Handles geofencing operations
-
-
Constructor Summary
Constructors Constructor Description GeofenceManagerImpl(CppSharedPtr cppGeofenceManager, Context context, ConfigurationManager configurationManager)
Instantiates a new Geofence manager.
-
Method Summary
Modifier and Type Method Description Building
getCurrentBuilding()
Gets the Building id of the current configuration Site
getCurrentSite()
Get the current site the user is currently in List<Geofence>
getInsideGeofences()
Get list of geofences that are in "inside" state List<Geofence>
getAllGlobalGeofences()
Get list of all global geofences defined on Pointr Cloud List<Poi>
getTriggerPois(Site site)
Get list of all trigger pois defined on Pointr Cloud -
-
Constructor Detail
-
GeofenceManagerImpl
GeofenceManagerImpl(CppSharedPtr cppGeofenceManager, Context context, ConfigurationManager configurationManager)
Instantiates a new Geofence manager.
-
-
Method Detail
-
getCurrentBuilding
@Nullable() Building getCurrentBuilding()
Gets the Building id of the current configuration
-
getCurrentSite
Site getCurrentSite()
Get the current site the user is currently in
-
getInsideGeofences
List<Geofence> getInsideGeofences()
Get list of geofences that are in "inside" state
-
getAllGlobalGeofences
List<Geofence> getAllGlobalGeofences()
Get list of all global geofences defined on Pointr Cloud
-
getTriggerPois
List<Poi> getTriggerPois(Site site)
Get list of all trigger pois defined on Pointr Cloud
-
-
-
-