Marketing Cloud SDK / com.salesforce.marketingcloud.events / Event

Event

interface Event

Properties

producer

open val producer: Producer

Functions

attributes

The Event attributes for this event.

abstract fun attributes(): Map<String, Any>

name

The name for the event. This value must match the Event Name used when creating the event in the Marketing Cloud UI for any action to result from tracking this event.

abstract fun name(): String

track

open fun track(): Unit

Extension Functions

flattenIterables

fun Event.flattenIterables(): MutableMap<String, MutableList<Any>>

toSFMCSdkEvent

Convert a PushSdk Event to an SFMCSdk Event

fun Event.toSFMCSdkEvent(): Event?