PayloadBuilder
A helper class for builder the tracking payload Use Properties class instead of this.
Author
MoEngage (abhishek@moengage.com)
Constructors
PayloadBuilder
Link copied to clipboard
Use Properties instead.
Functions
build
Link copied to clipboard
Build the Event Payload and pass it to trackEvent Use Properties instead.
putAttrBoolean
Link copied to clipboard
Content copied to clipboard
Add an boolean attribute value to the payload Use Properties instead.
putAttrDate
Link copied to clipboard
Content copied to clipboard
Add an Date attribute value to the payload Use Properties instead.
putAttrDateEpoch
Link copied to clipboard
Content copied to clipboard
Add an Date attribute value to the payload Use Properties instead.
putAttrDouble
Link copied to clipboard
Content copied to clipboard
Add an double attribute value to the payload Use Properties instead.
putAttrFloat
Link copied to clipboard
Content copied to clipboard
Add an float attribute value to the payload Use Properties instead.
putAttrInt
Link copied to clipboard
Add an integer attribute value to the payload Use Properties instead.
putAttrISO8601Date
Link copied to clipboard
Content copied to clipboard
Add a date attribute in ISO 8601 date format.
putAttrJSONArray
Link copied to clipboard
Content copied to clipboard
Add a JSONArray attribute value to the payload Use Properties instead.
putAttrJSONObject
Link copied to clipboard
Content copied to clipboard
Add a JSONObject attribute value to the payload Use Properties instead.
putAttrLocation
Link copied to clipboard
Content copied to clipboard
Content copied to clipboard
Content copied to clipboard
Add an Date attribute value to the payload Use Properties instead.
putAttrLong
Link copied to clipboard
Add an long attribute value to the payload Use Properties instead.
putAttrObject
Link copied to clipboard
Content copied to clipboard
Add a Object type attribute value to the payload.
putAttrString
Link copied to clipboard
Content copied to clipboard
Add an String attribute value to the payload Use Properties instead.
setNonInteractive
Link copied to clipboard
Marks an event as non-interactive.