Structured

class Structured(category: String, action: String) : AbstractPrimitive

A Structured event.

Constructors

Link copied to clipboard
constructor(category: String, action: String)

Functions

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard

Adds a list of context entities to the existing ones.

Link copied to clipboard
fun label(label: String?): Structured
Link copied to clipboard
fun property(property: String?): Structured
Link copied to clipboard
fun trueTimestamp(trueTimestamp: Long?): AbstractEvent

Set the custom timestamp of the event.

Link copied to clipboard
fun value(value: Double?): Structured

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var contexts: List<SelfDescribingJson>
Link copied to clipboard
open override val dataPayload: Map<String, Any?>

The payload for the event.

Link copied to clipboard
Link copied to clipboard

Used for events whose properties are added as entities, e.g. Ecommerce events

Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override var trueTimestamp: Long?
Link copied to clipboard