SDKsAndroidEnterprise
Get a group call room
Use the Android SDK to retrieve an active call room by group ID.
signalingGetRoomByGroupID() takes a group ID, not roomID, even when the call uses a custom roomID.
OpenIMClient.getInstance().signalingManager.signalingGetRoomByGroupID(
new OnBase<RoomCallingInfo>() {
@Override
public void onSuccess(RoomCallingInfo room) {
// room contains a snapshot of the room, invitation, and current participants.
}
@Override
public void onError(int code, String error) {
// code and error describe why the query failed.
}
},
groupID
);The success callback returns a RoomCallingInfo snapshot containing the room ID, original invitation, participants, group ID, token, and connection address.
When a successful result has no valid roomID, no usable room information was returned. The code and error in an error callback only describe the query failure; they do not establish that the group has no active call.
Was this page helpful?