onComplete

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

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

Parameters

status

RadarStatus The request status.

location

Location? If successful, the location.

places

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