public class

AppLovinPrivacySettings

extends Object
java.lang.Object
   ↳ com.applovin.sdk.AppLovinPrivacySettings

Class Overview

This class contains privacy settings for AppLovin.

Summary

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
From class java.lang.Object

Public Constructors

public AppLovinPrivacySettings ()

Public Methods

public static boolean hasUserConsent (Context context)

Check if user has provided consent for information sharing.

public static boolean isAgeRestrictedUser (Context context)

Check if user is age restricted.

Parameters
context Parent activity or application context. Must not be null.

public static void setHasUserConsent (boolean hasUserConsent, Context context)

Set whether or not user has provided consent for information sharing.

Parameters
hasUserConsent 'true' if the user has provided consent for information sharing.
context Parent activity or application context. Must not be null.

public static void setIsAgeRestrictedUser (boolean isAgeRestrictedUser, Context context)

Mark user as age restricted (i.e. under 16).

Parameters
isAgeRestrictedUser 'true' if the user is age restricted (i.e. under 16).
context Parent activity or application context. Must not be null.