ALPrivacySettings Class Reference

Inherits from NSObject
Declared in ALPrivacySettings.h

Overview

This class contains privacy settings for AppLovin.

+ setHasUserConsent:

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

+ (void)setHasUserConsent:(BOOL)hasUserConsent

Parameters

hasUserConsent

‘YES’ if the user has provided consent for information sharing with AppLovin. ‘false’ by default.

Discussion

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

Declared In

ALPrivacySettings.h

+ hasUserConsent

Check if user has provided consent for information sharing with AppLovin.

+ (BOOL)hasUserConsent

Discussion

Check if user has provided consent for information sharing with AppLovin.

Declared In

ALPrivacySettings.h

+ setIsAgeRestrictedUser:

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

+ (void)setIsAgeRestrictedUser:(BOOL)isAgeRestrictedUser

Parameters

isAgeRestrictedUser

‘YES’ if the user is age restricted (i.e. under 16).

Discussion

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

Declared In

ALPrivacySettings.h

+ isAgeRestrictedUser

Check if user is age restricted.

+ (BOOL)isAgeRestrictedUser

Discussion

Check if user is age restricted.

Declared In

ALPrivacySettings.h

+ setDoNotSell:

Set whether or not user has opted out of the sale of their personal information.

+ (void)setDoNotSell:(BOOL)doNotSell

Parameters

doNotSell

‘YES’ if the user has opted out of the sale of their personal information.

Discussion

Set whether or not user has opted out of the sale of their personal information.

Declared In

ALPrivacySettings.h

+ isDoNotSell

Check if the user has opted out of the sale of their personal information.

+ (BOOL)isDoNotSell

Discussion

Check if the user has opted out of the sale of their personal information.

Declared In

ALPrivacySettings.h