Marketing Cloud SDK / com.salesforce.marketingcloud.events / EventManager / customEvent

customEvent

@JvmStatic fun customEvent(name: String, attributes: Map<String, Any> = mapOf()): Event?

A CustomEvent for use in Behavioral Triggers for InApp Messages.

Parameters

name - is the Event.name used to identify the event. This value must match the Event Key entered in the Marketing Cloud UI.

attributes - key-value pairs of attributes associated with the Event.

Return
Event