onComplete

abstract fun onComplete(status: Radar.RadarStatus, trip: RadarTrip? = null, events: Array<RadarEvent>? = null)

Called when a trip update succeeds, fails, or times out. Receives the request status and, if successful, the trip and an array of the events generated.

Parameters

status

RadarStatus The request status.

trip

RadarTrip? If successful, the trip.

events

Array? If successful, an array of the events generated.