addSegmentedData

abstract fun addSegmentedData(data: Any?, segmentId: String, dataId: String)

Writes data under dataId within the namespace segmentId, overwriting any existing value — creating the segment if it doesn't exist yet. The mechanism behind UpdateData targeting applicationSegmentedData(segmentId).