logo
On this page

Use with ZegoExpressEngine

Please do not use these methods from ZegoExpressEngine.

  • createEngineWithProfile
  • destroyEngine
  • loginRoom
  • logoutRoom

If you want to create an engine before prebuilt, you can use ZegoUIKit().init(...) instead.

event/callback

When you are using ZegoExpressEngine together, how do you correctly handle event listeners?

Please follow the steps below:

1
Implement your own event class

You can choose one of the following two ways:

2
Register your own implemented event class
Untitled
final expressEvent = ExpressEvent();
ZegoUIKit().registerExpressEvent(expressEvent);
1
Copied!