GeoTriggeringEventReceiver

A receiver for GeoTriggering events.

Implement GeoTriggeringEventReceiver to receive callbacks for Rule Download and Zone Entry/Exit

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun onReceive(context: Context, intent: Intent)
Link copied to clipboard
abstract fun onZoneDwellEvent(dwellEvent: GeoTriggerEvent, context: Context)

This method is invoked when the SDK registers a dwell event into a geo-feature. There can be only one dwell event per zone.

Link copied to clipboard
abstract fun onZoneEntryEvent(entryEvent: GeoTriggerEvent, context: Context)

This method is invoked when the SDK registers an entry event into a geo-feature. There can be only one entry event per zone.

Link copied to clipboard
abstract fun onZoneExitEvent(exitEvent: GeoTriggerEvent, context: Context)

This method is invoked when the SDK registers an exit event. An exit event can be triggered if the geo-feature is configured to trigger on exit.

Link copied to clipboard
abstract fun onZoneInfoUpdate(context: Context)

This method is invoked whenever the set of zones is updated.