Platform Surface
Only conversation channels support channel presence. The SDK sync limit is 20 channel IDs at a time.
Parameters
Channel Presence Object
Sync Channel Presence
Start syncing when a conversation channel becomes visible, then unsync it when the row or screen is gone.Unsync All Channel Presence
UseunsyncAllChannelPresence when leaving a channel list, tearing down a view model, or replacing the whole visible channel set.
Best Practices
Bind syncing to visible rows
Bind syncing to visible rows
Sync a channel when its conversation row appears. Unsync during row reuse, unmount, or screen dismissal so the app stays under the 20-channel sync limit.
Use channel presence as a summary
Use channel presence as a summary
isAnyMemberOnline is designed for compact channel-list indicators. If you need per-user badges, sync those users directly with User Presence.Start the current user's heartbeat
Start the current user's heartbeat
Other members can only see the current user as online if the app enables presence and starts the current user’s heartbeat.
Related Topics
User Presence
Sync specific users when you need per-user online badges.
Heartbeat Sync
Mark the current user as online with the SDK heartbeat.