Marketing Cloud SDK / com.salesforce.marketingcloud.messages / RegionMessageManager / RegionTransitionEventListener

RegionTransitionEventListener

interface RegionTransitionEventListener

Interface to use to listen for region(Geofence/Proximity) transition(enter/exit) events. The in the provided Region will always be empty when these methods are called. If there is a message attached to the region transition that should be shown as a notification then it will be displayed shortly after this interface is notified of the event.

Annotations

Transition

class Transition

Properties

TRANSITION_ENTERED

static val TRANSITION_ENTERED: Int

TRANSITION_EXITED

static val TRANSITION_EXITED: Int

Functions

onTransitionEvent

abstract fun onTransitionEvent(transition: Int, region: Region): Unit