createTimelineEvent

abstract fun createTimelineEvent(eventType: String, eventDate: Date, properties: Map<String, Any?>, callback: Runnable? = null)

Registers an event on the timeline of the profile with the given properties.

Note that when using this method, the ID of the timeline event will be an automatically generated UUID.

Parameters

eventType

The type of the Timeline event.

eventDate

The time at which the Timeline event occurred.

properties

A map with properties for the event.

callback

The callback function when results are ready.