update

fun update(name: String, content: JsonMap, timestamp: Long = System.currentTimeMillis(), dismissTimestamp: Long? = null)

Updates the content for a tracked Live Update.

Parameters

name

The live update name.

content

A JsonMap with updated content.

timestamp

The update timestamp, used to filter out-of-order events (default: now).

dismissTimestamp

Optional timestamp, when to end this Live Update (default: null).