Skip to main content

Get open channel info

The current Android SDK does not expose openChannel.getInfo().

Use the following public APIs to get open channel state:

DataAPINotes
Current participant countOpenChannel.participantCountUpdated by SDK events.
Initial participant count after joinOpenChannelEnteredEvent.response?.participantCountAvailable in OpenChannelHandler.onEntered.
Real-time participant count changesOpenChannelParticipantChangedEvent.participantCountAvailable in OpenChannelHandler.onParticipantChanged.
Real-time participant change actionsOpenChannelParticipantChangedEvent.actionsEach 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.