Companion
object Companion
Content copied to clipboard
Functions
filter
Link copied to clipboard
fun filter(presence: PresenceState, predicate: (Map.Entry<String, PresenceMap>) -> Boolean?): PresenceState
Content copied to clipboard
listBy
Link copied to clipboard
fun <T> listBy(presence: PresenceState, transform: (Map.Entry<String, PresenceMap>) -> T): List<T>
Content copied to clipboard
syncDiff
Link copied to clipboard
fun syncDiff(currentState: PresenceState, diff: PresenceDiff, onJoin: OnJoin = { _, _, _ -> }, onLeave: OnLeave = { _, _, _ -> }): PresenceState
Content copied to clipboard
syncState
Link copied to clipboard
fun syncState(currentState: PresenceState, newState: PresenceState, onJoin: OnJoin = { _, _, _ -> }, onLeave: OnLeave = { _, _, _ -> }): PresenceState
Content copied to clipboard