Skip to main content
Version: legacy

Initialize JioMeet SDK Manager

  • JioMeetSdk has to be initialized inside the class which extends Application.

    JioMeetSdkManager.getInstance().initialize(Application application, boolean enableLogs, Environment environment, boolean enableAnalytics)
  • Multiple Environments supported: STAGE 1, PRESTAGE, RC, PROD. Use STAGE 1 for test calls.

Add below code on your Initial start of application for downloading .so files

  • For Java
DynamicSDKDownloadManager.getDynamicSDKDownloadManagerinstance().registerReceiver(this);
DynamicSDKDownloadManager.getDynamicSDKDownloadManagerinstance().prepareMissingLibraryFilesForVideoCall(this);
  • For Kotlin
DynamicSDKDownloadManager.dynamicSDKDownloadManagerinstance?.registerReceiver(this)
DynamicSDKDownloadManager.dynamicSDKDownloadManagerinstance?.prepareMissingLibraryFilesForVideoCall(this)

Note:

"this" refers to the context of current/calling activity

This methods will download required files,As these methods are required to call atleast once.
Once file get downloaded it won't download again until and unless app has been uninstalled by user.

Client need to implement JioMeetConnectionListener Interface
Once implemented interface , register listener using below code in onCreate method
JioMeetSdkManager.getInstance().registerJioMeetConnectionListener(this);

Also unregister listener inside onDestroy method of activity

JioMeetSdkManager.getInstance().unRegisterJioMeetConnectionListener();