java.lang.Object | |
↳ | com.applovin.sdk.AppLovinPrivacySettings |
This class contains privacy settings for AppLovin.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AppLovinPrivacySettings() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static boolean |
hasUserConsent(Context context)
Check if user has provided consent for information sharing.
| ||||||||||
static boolean |
isAgeRestrictedUser(Context context)
Check if user is age restricted.
| ||||||||||
static void |
setHasUserConsent(boolean hasUserConsent, Context context)
Set whether or not user has provided consent for information sharing.
| ||||||||||
static void |
setIsAgeRestrictedUser(boolean isAgeRestrictedUser, Context context)
Mark user as age restricted (i.e.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Check if user has provided consent for information sharing.
Check if user is age restricted.
context | Parent activity or application context. Must not be null. |
---|
Set whether or not user has provided consent for information sharing.
hasUserConsent | 'true' if the user has provided consent for information sharing. |
---|---|
context | Parent activity or application context. Must not be null. |
Mark user as age restricted (i.e. under 16).
isAgeRestrictedUser | 'true' if the user is age restricted (i.e. under 16). |
---|---|
context | Parent activity or application context. Must not be null. |