Created
June 29, 2022 07:09
-
-
Save larryluoo/ab441941b29aafabe838b251401dad56 to your computer and use it in GitHub Desktop.
joinRoom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String roomID = "ROOM_ID"; | |
/** | |
* Join a room. | |
* @param roomID refers to the ID of the room you want to join, and cannot be null. | |
* @param token token refers to the authentication token. | |
* @param callback callback refers to the callback for join a room. | |
*/ | |
ZegoRoomManager.getInstance().roomService.joinRoom(roomID,token,new ZegoRoomCallback() { | |
@Override | |
public void roomCallback(int errorCode) { | |
// Callback for the result of join a live audio room. | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment