EventBuilderHelper

A simple helper class to facilitate creation of common types of events.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val END_TIME: String = "endTime"
Link copied to clipboard
val START_TIME: String = "startTime"

Functions

Link copied to clipboard
open fun createAndStoreEvent(name: String, userAccount: UserAccount, className: String, attributes: JSONObject)
Creates and stores an analytics event with the supplied parameters.
Link copied to clipboard
open fun createAndStoreEventSync(name: String, userAccount: UserAccount, className: String, attributes: JSONObject)
Creates and stores an analytics event with the supplied parameters.
Link copied to clipboard
open fun enableDisable(b: Boolean)
This method allows event creation/storage to be disabled across the board.