createAndStoreEventSync

open fun createAndStoreEventSync(name: String, userAccount: UserAccount, className: String, attributes: JSONObject)

Creates and stores an analytics event with the supplied parameters.

Parameters

name

Event name.

userAccount

User account.

className

Class name or context where the event was generated.

attributes

Addiitonal attributes.