GeoTriggeringEventReceiver

abstract class GeoTriggeringEventReceiver : BroadcastReceiver

A receiver for GeoTriggering events.

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

Constructors

Link copied to clipboard
fun GeoTriggeringEventReceiver()

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

Inherited functions

Link copied to clipboard
fun abortBroadcast()
Link copied to clipboard
fun clearAbortBroadcast()
Link copied to clipboard
fun getAbortBroadcast(): Boolean
Link copied to clipboard
fun getDebugUnregister(): Boolean
Link copied to clipboard
fun getResultCode(): Int
Link copied to clipboard
fun getResultData(): String
Link copied to clipboard
fun getResultExtras(p0: Boolean): Bundle
Link copied to clipboard
open fun getSentFromPackage(): String?
Link copied to clipboard
open fun getSentFromUid(): Int
Link copied to clipboard
fun goAsync(): BroadcastReceiver.PendingResult
Link copied to clipboard
fun isInitialStickyBroadcast(): Boolean
Link copied to clipboard
fun isOrderedBroadcast(): Boolean
Link copied to clipboard
open fun peekService(p0: Context, p1: Intent): IBinder
Link copied to clipboard
fun setDebugUnregister(p0: Boolean)
Link copied to clipboard
fun setOrderedHint(p0: Boolean)
Link copied to clipboard
fun setResult(    p0: Int,     p1: String,     p2: Bundle)
Link copied to clipboard
fun setResultCode(p0: Int)
Link copied to clipboard
fun setResultData(p0: String)
Link copied to clipboard
fun setResultExtras(p0: Bundle)