get Location
@JvmStatic()
Content copied to clipboard
Gets the device's current location.
See also
Parameters
callback
An optional callback.
fun getLocation(block: (status: Radar.RadarStatus, location: Location?, stopped: Boolean) -> Unit)
Content copied to clipboard
Gets the device's current location.
See also
Parameters
block
A block callback.
@JvmStatic()
Content copied to clipboard
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)
Content copied to clipboard
Gets the device's current location with the desired accuracy.
See also
Parameters
desiredAccuracy
The desired accuracy.
block
A block callback.