track

fun track(event: BaseEvent, options: EventOptions? = null, callback: EventCallBack? = null): Amplitude

Track an event.

Return

the Amplitude instance

Parameters

event

the event

callback

the optional event callback

options

optional event options


fun track(eventType: String, eventProperties: Map<String, Any?>? = null, options: EventOptions? = null): Amplitude

Log event with the specified event type, event properties, and optional event options.

Return

the Amplitude instance

Parameters

eventType

the event type

eventProperties

the event properties

options

optional event options