trackOnce

fun trackOnce(callback: Radar.RadarTrackCallback? = null)

Tracks the user's location once in the foreground.

See also

Parameters

callback

An optional callback.

fun trackOnce(block: (status: Radar.RadarStatus, location: Location?, events: Array<RadarEvent>?, user: RadarUser?) -> Unit)

Tracks the user's location once in the foreground.

See also

Parameters

block

A block callback.

fun trackOnce(desiredAccuracy: RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy, beacons: Boolean, callback: Radar.RadarTrackCallback? = null)

Tracks the user's location once with the desired accuracy and optionally ranges beacons in the foreground.

See also

Parameters

desiredAccuracy

The desired accuracy.

beacons

A boolean indicating whether to range beacons.

callback

An optional callback.

fun trackOnce(desiredAccuracy: RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy, beacons: Boolean, block: (status: Radar.RadarStatus, location: Location?, events: Array<RadarEvent>?, user: RadarUser?) -> Unit)

Tracks the user's location once with the desired accuracy and optionally ranges beacons in the foreground.

See also

Parameters

desiredAccuracy

The desired accuracy.

beacons

A boolean indicating whether to range beacons.

block

A block callback.

fun trackOnce(location: Location, callback: Radar.RadarTrackCallback?)

Manually updates the user's location. Note that these calls are subject to rate limits.

See also

Parameters

location

A location for the user.

callback

An optional callback.

fun trackOnce(location: Location, block: (status: Radar.RadarStatus, location: Location?, events: Array<RadarEvent>?, user: RadarUser?) -> Unit)

Manually updates the user's location. Note that these calls are subject to rate limits.

See also

Parameters

location

A location for the user.

block

A block callback.