Companion

object Companion

Functions

Link copied to clipboard
fun builder(): GeoTriggeringService.GeoTriggerBuilder

Call this method to create a builder for using GeoTriggeringService.

Link copied to clipboard
fun foregroundNotificationId(context: Context): Int

The client can get the foreground notification NotificationId

Link copied to clipboard
fun isRunning(): Boolean

Is the Foreground Service GeoTriggering is running

fun isRunning(context: Context): Boolean

Is the Geo-Triggering (with or without Foreground Service) currently running

Link copied to clipboard
fun stop(context: Context, geoTriggeringStatusListener: GeoTriggeringStatusListener)

Call this method when the GeoTriggering feature is no longer required. It will instruct the SDK to stop registering entry and exit events, and updating zones.