ZegoExpressEngineRoom extension
Methods
-
getRoomStreamList(
String roomID, ZegoRoomStreamListType streamListType) → Future< ZegoRoomStreamList> - Get room stream list.
-
loginRoom(
String roomID, ZegoUser user, {ZegoRoomConfig? config}) → Future< ZegoRoomLoginResult> - Log in to the room by configuring advanced properties, and return the login result through the callback parameter. You must log in to the room before pushing or pulling the stream.
-
logoutRoom(
[String? roomID]) → Future< ZegoRoomLogoutResult> - Exit the room of the specified room ID with callback.
-
renewToken(
String roomID, String token) → Future< void> - Renew token.
-
setRoomExtraInfo(
String roomID, String key, String value) → Future< ZegoRoomSetRoomExtraInfoResult> - Set room extra information.
-
switchRoom(
String fromRoomID, String toRoomID, {ZegoRoomConfig? config}) → Future< void> - Switch the room with advanced room configurations.