putAttrObject

open fun putAttrObject(@NonNull attrName: String, @NonNull attrValue: Any): PayloadBuilder

Add a Object type attribute value to the payload. Use Properties instead.

Return

PayloadBuilder instance Note: Attribute value should only be wrapper class of one of the types Boolean, Byte, Character, Integer, Double, Float, Long, Short, String.

Parameters

attrName

event attribute name

attrValue

event attribute value