Skip to content

//sorisdk/com.iplateia.sorisdk/ILocationProvider

ILocationProvider

[androidJvm]
interface ILocationProvider

Interface for delegate the location to be sent to the server. The location can be used to narrow down the campaign to a specific location.

Functions

NameSummary
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.