createAndStoreEvent

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

Creates and stores an analytics event with the supplied parameters. By default all createAndStoreEvent's are placed into a background thread pool for posting.

Parameters

name

Event name.

userAccount

User account.

className

Class name or context where the event was generated.

attributes

Addiitonal attributes.