onComplete

abstract fun onComplete(status: Radar.RadarStatus, location: Location? = null, stopped: Boolean = false)

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

Parameters

status

RadarStatus The request status.

location

Location? If successful, the location.

stopped

Boolean A boolean indicating whether the device is stopped.