public class EventBuilderHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
END_TIME |
static java.lang.String |
START_TIME |
Constructor and Description |
---|
EventBuilderHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createAndStoreEvent(java.lang.String name,
UserAccount userAccount,
java.lang.String className,
JSONObject attributes)
Creates and stores an analytics event with the supplied parameters.
|
static void |
createAndStoreEventSync(java.lang.String name,
UserAccount userAccount,
java.lang.String className,
JSONObject attributes)
Creates and stores an analytics event with the supplied parameters.
|
static void |
enableDisable(boolean b)
This method allows event creation/storage to be disabled across the board.
|
public static final java.lang.String START_TIME
public static final java.lang.String END_TIME
public static void enableDisable(boolean b)
public static void createAndStoreEvent(java.lang.String name, UserAccount userAccount, java.lang.String className, JSONObject attributes)
name
- Event name.userAccount
- User account.className
- Class name or context where the event was generated.attributes
- Addiitonal attributes.public static void createAndStoreEventSync(java.lang.String name, UserAccount userAccount, java.lang.String className, JSONObject attributes)
name
- Event name.userAccount
- User account.className
- Class name or context where the event was generated.attributes
- Addiitonal attributes.