-jio-start-block-type-2
-jio-style-title
Call the following API on your app's launch, preferably in the onCreate()
method of the App class.
JioAds.getInstance().init(context);
-jio-style-title
Invoke the following API when your app is exiting, preferably in the onDestroy()
method of the MainActivity.
JioAds.getInstance().release();
-jio-style-title
If needed, enable / disable debug logs for the JioAds SDK by calling setLogLevel()
API.
JioAds.getInstance().setLogLevel(JioAds.LogLevel.DEBUG);
Possible values for LogLevel
are as below:
-jio-tables
Log Level Parameter Value | Description |
---|---|
JioAds.LogLevel.NONE |
Disable Logs (No logs will be printed) |
JioAds.LogLevel.DEBUG |
To enable debug logs |
-jio-end-block-type-2