Structured

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

A Structured event.

Constructors

Link copied to clipboard
fun Structured(category: String, action: String)

Functions

Link copied to clipboard
open override fun beginProcessing(tracker: Tracker)

Hook method called just before the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

Link copied to clipboard
open override fun endProcessing(tracker: Tracker)

Hook method called just after the event processing in order to execute special operations.

Link copied to clipboard

Adds a list of contexts.

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 val contexts: List<SelfDescribingJson>
Link copied to clipboard

List of custom contexts associated with the event.

Link copied to clipboard
open override val dataPayload: Map<String, Any?>
Link copied to clipboard
open override val entities: List<SelfDescribingJson>
Link copied to clipboard
var label: String? = null
Link copied to clipboard
open override val name: String
Link copied to clipboard
var property: String? = null
Link copied to clipboard
open override var trueTimestamp: Long? = null
Link copied to clipboard
var value: Double? = null