Skip to content

//sorisdk/com.iplateia.sorisdk/ILocationProvider/getLocation

getLocation

[androidJvm]
abstract fun getLocation(): Location

Provide the location of the device. To prevent battery drain, you may cache the location and update it periodically.

For example, you can use google play service's FusedLocationProviderClient to get the location.

Return

The current location of the device.