onComplete

abstract fun onComplete(status: Radar.RadarStatus, location: Location? = null, context: RadarContext? = null)

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

Parameters

status

RadarStatus The request status.

location

Location? If successful, the location.

context

RadarContext? If successful, the context.