Properties
A helper class for building attributes
Author
Umang Chamaria
Since
10.0.00 Date: 2020/11/13
Constructors
Properties
Link copied to clipboard
Functions
addAttribute
Link copied to clipboard
fun addAttribute(attributeName: String, attributeValue: Any?): Properties
Content copied to clipboard
Add an attribute with value of type Object.
Note: This API only accepts the below data-types:
addDateEpoch
Link copied to clipboard
fun addDateEpoch(attributeName: String, attributeValue: Long): Properties
Content copied to clipboard
Add an attribute with value of type date. The input value should be in Epoch(milliseconds)
addDateIso
Link copied to clipboard
fun addDateIso(attributeName: String, attributeValue: String): Properties
Content copied to clipboard
Add an attribute with value of type date. The input string should in ISO 8601 format.
getPayload
Link copied to clipboard
setNonInteractive
Link copied to clipboard
Marks an event as non-interactive.