onComplete

abstract fun onComplete(status: Radar.RadarStatus, location: Location? = null, geofences: Array<RadarGeofence>? = null)

Called when a geofence search request succeeds, fails, or times out. Receives the request status and, if successful, the location and an array of geofences sorted by distance.

Parameters

status

RadarStatus The request status.

location

Location? If successful, the location.

geofences

Array? If successful, an array of geofences sorted by distance.