Get open channel info
The current Android SDK does not expose openChannel.getInfo().
Use the following public APIs to get open channel state:
| Data | API | Notes |
|---|---|---|
| Current participant count | OpenChannel.participantCount | Updated by SDK events. |
| Initial participant count after join | OpenChannelEnteredEvent.response?.participantCount | Available in OpenChannelHandler.onEntered. |
| Real-time participant count changes | OpenChannelParticipantChangedEvent.participantCount | Available in OpenChannelHandler.onParticipantChanged. |
| Real-time participant change actions | OpenChannelParticipantChangedEvent.actions | Each action includes userId and actionType. |
info
Use the currently published OpenChannel APIs such as enterChannel(), exitChannel(), getMetadata(), setMetadata(), deleteMetadata(), and OpenChannel.createOpenChannelMessagesQuery() until a public channel-info API is exposed.