Created
July 21, 2022 12:35
-
-
Save larryluoo/e561f5541ab43e42f9ff2b7dc21779e6 to your computer and use it in GitHub Desktop.
Create ZegoExpressEngine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 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