onComplete

abstract fun onComplete(status: Radar.RadarStatus, routes: RadarRoutes? = null)

Called when a distance request succeeds, fails, or times out. Receives the request status and, if successful, the routes.

Parameters

status

RadarStatus The request status.

routes

RadarRoutes? If successful, the routes.