TrackerEvent

class TrackerEvent @JvmOverloads constructor(event: Event, state: TrackerStateSnapshot? = null) : StateMachineEvent

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun addPayloadValues(payload: Map<String, Any>): Boolean

Add payload values to the event.

Link copied to clipboard
fun wrapEntitiesToPayload(payload: Payload, base64Encoded: Boolean)
Link copied to clipboard
fun wrapPropertiesToPayload(toPayload: Payload, base64Encoded: Boolean)

Properties

Link copied to clipboard
open lateinit override var entities: MutableList<SelfDescribingJson>

The list of context entities

Link copied to clipboard
Link copied to clipboard
var isPrimitive: Boolean = false
Link copied to clipboard
Link copied to clipboard
open override var name: String? = null

The name of the event

Link copied to clipboard
open lateinit override var payload: MutableMap<String, Any>

The payload of the event

Link copied to clipboard
open override var schema: String? = null

The schema of the event

Link copied to clipboard
open lateinit override var state: TrackerStateSnapshot

The tracker state at the time the event was sent.

Link copied to clipboard
Link copied to clipboard