Skip to content

Instantly share code, notes, and snippets.

@larryluoo
Created July 29, 2022 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larryluoo/3b8b8819c6d30a66242db6a507b17d10 to your computer and use it in GitHub Desktop.
Save larryluoo/3b8b8819c6d30a66242db6a507b17d10 to your computer and use it in GitHub Desktop.
CreateAZegoExpressEngine
/** Define a ZegoExpressEngine object */
ZegoExpressEngine engine;
ZegoEngineProfile profile = new ZegoEngineProfile();
/** AppID format: 123456789L */
profile.appID = appID;
/** General scenario */
profile.scenario = ZegoScenario.GENERAL;
/** Set application object of App */
profile.application = getApplication();
/** Create a ZegoExpressEngine instance */
engine = ZegoExpressEngine.createEngine(profile, null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment