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

@c YES if the user has provided consent for information sharing with AppLovin. @c NO 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

Return Value

@c YES if user has provided consent for information sharing.

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

@c 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

Return Value

@c YES if user is age restricted. @c nil if not set.

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

@c 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

Return Value

@c YES if user has opted out of the sale of their personal information.

Discussion

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

Declared In

ALPrivacySettings.h