getProximityAreas

external fun getProximityAreas(coords: Coordinates, radius: Int, listener: ProgressListener, details: Int = 0): Pair<Int, GeofenceProximityAreaList>

Get geofence proximity areas for the given coordinates & radius

Return

The operation error code

Parameters

proxAreas

The proximity areas list result, will be fully populated on IProgressListener::notifyComplete

coords

The coordinates reference for search

radius

The search radius around the reference coordinates

listener

The operation progress listener

details

The GeofenceArea result details. A combination of ProximityAreaDetails options, default = 0 meaning only GeofenceArea::id will be available in the result