EventManager

Class which helps in creating a EventManager for each module . This is initialised when SFMCSdk.configure is called and each Module via Config has its own EventManager

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun subscribe(subscriber: EventSubscriber)

Method to register a subscriber for Event

Link copied to clipboard
fun track(vararg events: Event)

Method to track events from Module via SFMCSdkComponents.eventManager

Link copied to clipboard
fun unsubscribe(subscriber: EventSubscriber)

Method to de-register a subscriber for Event