Presence
Functions
Link copied to clipboard
applyStatus applies the presence status into this presence counter.
Link copied to clipboard
getActorID returns the actor ID of this presence counter.
Link copied to clipboard
getPresenceID returns the presence ID from the server.
Link copied to clipboard
getStatus returns the status of this presence counter.
Link copied to clipboard
hasLocalChanges returns whether this presence has local changes or not. Presence is server-managed, so it always returns false.
Link copied to clipboard
isAttached returns whether this presence counter is attached or not.
Link copied to clipboard
publish publishes an event to all registered handlers.
Link copied to clipboard
setPresenceID sets the presence ID from the server.
Link copied to clipboard
updateCount updates the count and sequence number if the sequence is newer. Returns true if the count was updated, false if the update was ignored.