public class AppLovinPrivacySettings
extends java.lang.Object
| Constructor and Description |
|---|
AppLovinPrivacySettings() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasUserConsent(android.content.Context context)
Check if user has provided consent for information sharing.
|
static boolean |
isAgeRestrictedUser(android.content.Context context)
Check if user is age restricted.
|
static boolean |
isDoNotSell(android.content.Context context)
Check if the user has opted out of the sale of their personal information.
|
static void |
setDoNotSell(boolean doNotSell,
android.content.Context context)
Set whether or not user has opted out of the sale of their personal information.
|
static void |
setHasUserConsent(boolean hasUserConsent,
android.content.Context context)
Set whether or not user has provided consent for information sharing.
|
static void |
setIsAgeRestrictedUser(boolean isAgeRestrictedUser,
android.content.Context context)
Mark user as age restricted (i.e.
|
public static void setHasUserConsent(boolean hasUserConsent,
android.content.Context context)
hasUserConsent - true if the user has provided consent for information sharing.context - Parent activity or application context. Must not be null.public static boolean hasUserConsent(android.content.Context context)
context - Parent activity or application context. Must not be null.true if user has provided consent for information sharing.public static void setIsAgeRestrictedUser(boolean isAgeRestrictedUser,
android.content.Context context)
isAgeRestrictedUser - true if the user is age restricted (i.e. under 16).context - Parent activity or application context. Must not be null.public static boolean isAgeRestrictedUser(android.content.Context context)
context - Parent activity or application context. Must not be null.true if user is age restricted.public static void setDoNotSell(boolean doNotSell,
android.content.Context context)
doNotSell - true if the user has opted out of the sale of their personal information.context - Parent activity or application context. Must not be null.public static boolean isDoNotSell(android.content.Context context)
context - Parent activity or application context. Must not be null.true if user has opted out of the sale of their personal information.