Presence
Online Presence allows an app's users to know which of their friends are currently online, what they are doing, and whether they are available to interact.
The Presence Service enables the tracking of this live user activity. In order for any of these calls to be functional, the Presence feature must be enabled for your app. brainCloud RTT is also required.
See Design | Messaging | Presence in the portal.
API Summary
Presence
- GetPresenceOfUsers - Gets the presence data for the given `profileIds
. Will not include offline profiles unless \includeOffline` is set to true. - SysExtendPxExpiry - Extends the presence TTL for <profileId> by <seconds>.
- SysInitializePresence - Creates or updates the presence of `profileId
. \visibleis optional (defaults to true). \activityis optional. \expirySecsis optional (defaults to brainCloud property \presPxExpirySecs`). - SysTerminatePresence - Terminates the presence of `profileId`.
📄️ GetPresenceOfUsers
Gets the presence data for the given \profileIds. Will not include offline profiles unless \includeOffline is set to true.
📄️ SysExtendPxExpiry
Extends the presence TTL for \profileId by \seconds.
📄️ SysInitializePresence
Creates or updates the presence of \profileId. \visible is optional (defaults to true). \activity is optional. \expirySecs is optional (defaults to property \presPxExpirySecs).
📄️ SysTerminatePresence
Terminates the presence of \profileId.