setData

Adds data to the SelfDescribingJson

  • Accepts a TrackerPayload object

Return

itself

Parameters

trackerPayload

the data to be added to the SelfDescribingJson


Adds data to the SelfDescribingJson

  • Accepts a POJO

Return

itself

Parameters

data

the data to be added to the SelfDescribingJson


fun setData(selfDescribingJson: SelfDescribingJson?): SelfDescribingJson

Allows us to add data from one SelfDescribingJson into another without copying over the Schema.

Return

itself

Parameters

selfDescribingJson

the payload to add to the SelfDescribingJson