createRealTimeSequentialDataManager method
- String roomID
Create the real time sequential data manager instance
Available: since 2.14.0
Description: Create a manager object for sending/receiving real-time signaling.
Use cases: You can use this function when you need to use real-time signaling to implement services such as cloud games and remote desktops.
When to call: After logging in to a room.
Restrictions: Only one corresponding manager object can be created for each room ID of loginRoom
, that is, only one object can be created in single room mode, and multiple objects can be created in multi-room mode.
Caution: None.
roomID
Fill in the room ID that has been logged in, and all related stuff will be do in this room.- Returns The real-time sequential data manager instance, null will be returned when the maximum number is exceeded.
Implementation
Future<ZegoRealTimeSequentialDataManager?>
createRealTimeSequentialDataManager(String roomID) async {
return await ZegoExpressImpl.instance
.createRealTimeSequentialDataManager(roomID);
}