putAttrLocation

open fun putAttrLocation(attrName: String, attrValue: GeoLocation): PayloadBuilder

Add an Date attribute value to the payload Use Properties instead.

Return

PayloadBuilder instance

Parameters

attrName

The Event attribute name

attrValue

The Event attribute Value of type GeoLocation


open fun putAttrLocation(attrName: String, attrValue: Location): PayloadBuilder

Add an Date attribute value to the payload Use Properties instead.

Return

PayloadBuilder instance

Parameters

attrName

The Event attribute name

attrValue

The Event attribute Value of type Location


open fun putAttrLocation(attrName: String, latitude: Double, longitude: Double): PayloadBuilder

Add an Date attribute value to the payload Use Properties instead.

Return

PayloadBuilder instance

Parameters

attrName

The Event attribute name

latitude

The latitude value of the geo location

longitude

The longitude value of the geo location