Properties

class Properties

A helper class for building attributes

Author

Umang Chamaria

Since

10.0.00 Date: 2020/11/13

Constructors

Properties
Link copied to clipboard
fun Properties()

Functions

addAttribute
Link copied to clipboard
fun addAttribute(attributeName: String, attributeValue: Any?): Properties
Add an attribute with value of type Object.
addDateEpoch
Link copied to clipboard
fun addDateEpoch(attributeName: String, attributeValue: Long): Properties
Add an attribute with value of type date.
addDateIso
Link copied to clipboard
fun addDateIso(attributeName: String, attributeValue: String): Properties
Add an attribute with value of type date.
getPayload
Link copied to clipboard
fun getPayload(): PayloadBuilder
setNonInteractive
Link copied to clipboard
fun setNonInteractive(): Properties
Marks an event as non-interactive.