start

fun start(geoTriggeringStatusListener: GeoTriggeringStatusListener)

Call this function to start the GeoTriggering service. Before calling this function, make sure that the application has the correct location permissions. We recommend checking that the correct location permissions are granted each time prior to calling this function. Thus, it is important to call this function while the application is in the foreground, so the user can respond to the location authorization prompt.

Since

18.0.0

Parameters

geoTriggeringStatusListener

provide a callback when start is complete. For more details see GeoTriggeringStatusListener


fun start(context: Context, geoTriggeringStatusListener: GeoTriggeringStatusListener)

Deprecated

We are replacing this method with start(geoTriggeringStatusListener)

Replace with

GeoTriggeringService.start(geoTriggeringStatusListener)

Call this function to start the GeoTriggering service. Before calling this function, make sure that the application has the correct location permissions. We recommend checking that the correct location permissions are granted each time prior to calling this function. Thus, it is important to call this function while the application is in the foreground, so the user can respond to the location authorization prompt.

Since

15.3.0

Parameters

geoTriggeringStatusListener

provide a callback when start is complete. For more details see GeoTriggeringStatusListener