EventUtils

class EventUtils

A Utility class for

Author

MoEngage (abhishek@moengage.com)

Functions

getDataPointJson
Link copied to clipboard
open fun getDataPointJson(action: String, actionAttrs: JSONObject): JSONObject
open fun getDataPointJson(action: String, actionAttrs: JSONObject, epochTime: String, localTime: String): JSONObject
open fun getDataPointJson(action: String, generalAttrs: JSONObject, customAttrs: JSONObject, epochTime: String, localTime: String): JSONObject
getDateDataPointFormat
Link copied to clipboard
open fun getDateDataPointFormat(): String

Properties

EVENT_ATTRS
Link copied to clipboard
val EVENT_ATTRS: String
Attribute key which holds the value of EVENT_ATTRS
EVENT_ATTRS_CUST
Link copied to clipboard
val EVENT_ATTRS_CUST: String
EVENT_G_TIME
Link copied to clipboard
val EVENT_G_TIME: String
Attribute key which holds the value of EVENT_G_TIME
EVENT_L_TIME
Link copied to clipboard
val EVENT_L_TIME: String
Attribute key which holds the value of EVENT_L_TIME
EVENT_NON_INTERACTIVE
Link copied to clipboard
val EVENT_NON_INTERACTIVE: String
MONTH_NUMBERS
Link copied to clipboard
open val MONTH_NUMBERS: Array<Int>