Created
July 29, 2022 07:33
-
-
Save larryluoo/3b8b8819c6d30a66242db6a507b17d10 to your computer and use it in GitHub Desktop.
CreateAZegoExpressEngine
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