Package-level declarations

Types

Link copied to clipboard
class JoinEvent(userId: String, channel: String, attributes: Map<String, String>) : PresenceEvent

a user has joined the channel

Link copied to clipboard
class LeaveEvent(userId: String, channel: String, attributes: Map<String, String>) : PresenceEvent

a user has left the channel

Link copied to clipboard
sealed class PresenceEvent(val userId: String, val channel: String, val attributes: Map<String, String>)

base class for all presence events

Link copied to clipboard

metadata associated with an existing presence callback

Link copied to clipboard
class TimeoutEvent(userId: String, channel: String, attributes: Map<String, String>) : PresenceEvent

a user has timed out of the channel

Link copied to clipboard
class UpdateEvent(userId: String, channel: String, attributes: Map<String, String>) : PresenceEvent

a users metadata has changed