Geofence
GeographicArea object. This object represents a geographical area on the surface of a WGS 84 Ellipsoid. In the calculations related to these geographical areas the altitude information contained in the All geographical areas deal with Coordinates objects.
Properties
Functions
Link copied to clipboard
external fun addArea(area: GeographicArea, id: String, meta: ParameterList, listener: ProgressListener): Int
Add a geographic area to the geofence
Link copied to clipboard
Add list of geographic areas to the geofence
Link copied to clipboard
Cancel an asynchronous operation
Link copied to clipboard
external fun getAreas(areas: GemList<GeofenceArea>, ids: ArrayList<String>, listener: ProgressListener, meta: ParameterList): Int
Add list of geographic areas to the geofence
Link copied to clipboard
external fun getProximityAreas(coords: Coordinates, radius: Int, listener: ProgressListener, details: Int = 0): Pair<Int, GeofenceProximityAreaList>
Get geofence proximity areas for the given coordinates & radius
Link copied to clipboard
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Link copied to clipboard
external fun removeAreas(ids: ArrayList<String>, listener: ProgressListener, meta: ParameterList): Int
Remove geographic areas, identified by ids, from the geofence
Link copied to clipboard
external fun startMonitoringAreas(listener: GeofenceListener, ids: ArrayList<String> = arrayListOf()): Int
Start the monitoring for the given areas
Link copied to clipboard
Start the monitoring for the given user
Link copied to clipboard
Stop the monitoring for the given areas