Event

abstract class Event

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
enum Category : Enum<Event.Category>

List of possible Category values for sending Events

Link copied to clipboard
enum Producer : Enum<Event.Producer>

List of possible Producer values for sending Events

Properties

Link copied to clipboard

The Event category Name. Category contains list of allowed values

Link copied to clipboard
@JvmField
val id: String
Link copied to clipboard

The Event Producer Name . Producer contains list of allowed values

Functions

Link copied to clipboard
abstract fun attributes(): Map<String, Any>

The Event attributes for this event.

Link copied to clipboard
abstract fun name(): String

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.

Link copied to clipboard
fun toJson(): JSONObject
Link copied to clipboard
fun track()

Method to track this Event via EventManager to subscriber EventSubscriber