Dispatch

class Dispatch

A representation of an event or view being tracked.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
object Keys

Properties

Link copied to clipboard
val id: String

The unique id of this Dispatch.

Link copied to clipboard

The event name of the Dispatch, if it's available in the payload.

Link copied to clipboard

The difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC

Link copied to clipboard

The type of Dispatch, if it's available in the payload.

Functions

Link copied to clipboard
fun addAll(data: DataObject)

Adds all of the data into the existing payload, overwriting where necessary.

Link copied to clipboard

Returns a consistent short description of the Dispatch to help identify it throughout the logs.

Link copied to clipboard

Returns the current payload of this Dispatch

Link copied to clipboard
fun replace(data: DataObject)

Replaces the existing payload with the incoming data