java.lang.Object | |
↳ | com.inmobi.sdk.InMobiSdk |
Constants and settings that have effect across the InMobi SDK.
As part of the General Data Protection Regulation ("GDPR") publishers who collect data on their apps, are required to have a legal basis for collecting and processing the personal data of users in the European Economic Area ("EEA"). Please ensure that you obtain appropriate consent from the user before making ad requests to InMobi for Europe and indicate the same by following our recommended SDK implementation. Please do not pass any demographics information of a user; if you do not have user consent from such user in Europe.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
InMobiSdk.AgeGroup | |||||||||||
InMobiSdk.Education | |||||||||||
InMobiSdk.Gender | |||||||||||
InMobiSdk.LogLevel |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | IM_GDPR_CONSENT_AVAILABLE | Populate this key to consentObject with boolean value. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Use this to get the version of the SDK.
| |||||||||||
Initialize the sdk.
| |||||||||||
Initialize the sdk.
| |||||||||||
Set the user's age for targeting purposes.
| |||||||||||
Set the user's age group for targeting purposes.
| |||||||||||
Set the area code for targeting purposes.
| |||||||||||
Set the educational qualifications of the user for targeting purposes.
| |||||||||||
Set the user's gender for targeting purposes.
| |||||||||||
Set the user's interest areas for targeting purposes.
| |||||||||||
Set the language for targeting purposes.
| |||||||||||
Set the user's location for targeting purposes.
| |||||||||||
Set specific location parameters for targeting purposes.
| |||||||||||
Control the verbosity of the logs printed by the Ads SDK.
| |||||||||||
Set the postal code for targeting purposes.
| |||||||||||
Set the user's year of birth for targeting purposes.
| |||||||||||
Update user's GDPR consent.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Populate this key to consentObject with boolean value.
Use this to get the version of the SDK.
Initialize the sdk. This must be called before any other API for the SDK is used.
consentObject | InMobi relies on the publishers to obtain explicit consent from users for continuing business activities in EU as per GDPR. Consent object allows publishers to indicate consent status as obtained from the users for InMobi services to function appropriately. |
---|
Initialize the sdk. This must be called before any other API for the SDK is used.
Set the user's age for targeting purposes.
Set the user's age group for targeting purposes.
Set the area code for targeting purposes.
Set the educational qualifications of the user for targeting purposes.
Set the user's gender for targeting purposes.
Set the user's interest areas for targeting purposes.
Set the language for targeting purposes.
Set the user's location for targeting purposes.
Set specific location parameters for targeting purposes.
Set the postal code for targeting purposes.
Set the user's year of birth for targeting purposes.
Update user's GDPR consent.