custom Event
fun customEvent(name: String, attributes: Map<String, Any> = mapOf(), producer: Event.Producer = Producer.PUSH): Event?
A CustomEvent for use in Behavioral Triggers for InApp Messages.
Return
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.