03. SDK for Java
SDK Installation
You can configure the SDK using Gradle.
Maven Settings
Add the following Maven repository to the project-level build.gradle
Dependency Settings
Add the following dependency to the app-level build.gradle
Permission Settings
The following required permissions must be added to the Android Manifest:
ONE AdMax SDK
Media Key Registration
Add the media key issued from the ONE AdMax console within the application
tag of the Android Manifest.
SDK Initialize
onDestroy()
API
onDestroy()
APIRelease the resources (View, Memory) allocated in memory when the application is terminated.
This should be called in the onDestroy()
method of the activity that is being terminated.
Log Settings
You can enable or disable the logs for the ONE AdMax SDK.
GDPR Settings
To comply with the EU's GDPR (General Data Protection Regulation) regulation, the following API is used. It is called only for users who need to provide GDPR consent.
COPPA Settings
To comply with the COPPA (Children's Online Privacy Protection Rule), the following API is added. For devices that fall under COPPA, all types of ad requests will be treated as "No ad" (default: false).
Last updated