queryRoomOnlineMemberCount abstract method
Query the number of online members in the room.
Available since: 2.1.5 or above.
Description: After joining a room, you can use this function to get the number of online members in the room.
Use cases: When a developer needs to obtain the number of room members who are online, this interface can be called.
Calling time: After creating a ZIM instance through create, and the user is in the room that needs to be queried, this interface can be called.
Caution: If the user is not currently in this room, the query will fail.
Related APIs: the room member can be inquired through queryRoomMemberList.
roomID
ID of the room to query.
Implementation
Future<ZIMRoomOnlineMemberCountQueriedResult> queryRoomOnlineMemberCount(
String roomID);