EventDeliveryInfo

sealed class EventDeliveryInfo

Data class representing information about the delivery of an event.

See also

Inheritors

Types

Link copied to clipboard
data class Async(val deliveryTag: <Error class: unknown class>, val source: EventSource) : EventDeliveryInfo

Async event delivery info, represents events that needs to be ACK'ed in the new system.

Link copied to clipboard

Async event delivery info, represents full sync needed, which is a special case of async event and also needs to be ACK'ed.

Link copied to clipboard
data class Legacy(val isTransient: Boolean, val source: EventSource) : EventDeliveryInfo

Event from the old quick sync system, not needing ACK.

Properties

Link copied to clipboard
open val isTransient: Boolean

Specifies whether the event is transient. Transient events are events that only matter if the user is online/active. For example "user is typing", and call signaling (mute/unmute), which are irrelevant after a few minutes. These are likely to not even be stored in the backend.

Link copied to clipboard

The source of the event.

Functions

Link copied to clipboard
fun toLogMap(): Map<String, Any?>