on Complete
abstract fun onComplete(status: Radar.RadarStatus, location: Location? = null, events: Array<RadarEvent>? = null, user: RadarUser? = null)
Content copied to clipboard
Called when a track request succeeds, fails, or times out. Receives the request status and, if successful, the user's location, an array of the events generated, and the user.
Parameters
status
RadarStatus The request status.
location
Location? If successful, the user's location.
events
Array
user
RadarUser? If successful, the user.