Skip to content

Instantly share code, notes, and snippets.

@larryluoo
Created July 21, 2022 12:35
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/e561f5541ab43e42f9ff2b7dc21779e6 to your computer and use it in GitHub Desktop.
Save larryluoo/e561f5541ab43e42f9ff2b7dc21779e6 to your computer and use it in GitHub Desktop.
Create ZegoExpressEngine
/** 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