setUserAttribute

fun setUserAttribute(attributeMap: Map<String, Any>)

Set the user attributes with the attributes specified in the HashMap

Parameters

attributeMap

The attribute map which needs to be set for the user


fun setUserAttribute(attributeName: String, attributeValue: Any)

Track a user attribute in the default instance.

Note: This API only accepts the below data-types:

String, Int, Long, Double, Float, Boolean, Date, GeoLocation, Location

Parameters

attributeName

Attribute Name

attributeValue

Attribute Value