getLocation

fun getLocation(callback: Radar.RadarLocationCallback? = null)

Gets the device's current location.

See also

Parameters

callback

An optional callback.

fun getLocation(block: (status: Radar.RadarStatus, location: Location?, stopped: Boolean) -> Unit)

Gets the device's current location.

See also

Parameters

block

A block callback.

fun getLocation(desiredAccuracy: RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy, callback: Radar.RadarLocationCallback? = null)

Gets the device's current location with the desired accuracy.

See also

Parameters

desiredAccuracy

The desired accuracy.

callback

An optional callback.

fun getLocation(desiredAccuracy: RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy, block: (status: Radar.RadarStatus, location: Location?, stopped: Boolean) -> Unit)

Gets the device's current location with the desired accuracy.

See also

Parameters

desiredAccuracy

The desired accuracy.

block

A block callback.