underAgeOfConsent

fun underAgeOfConsent(tagForUnderAgeOfConsent: Boolean?): UserPropertiesBuilder

Sets the under age of consent flag (CCPA/PDPA compliance).

Return

This builder instance for method chaining

Parameters

tagForUnderAgeOfConsent

true if user is under age of consent


fun underAgeOfConsent(tagForUnderAgeOfConsent: String?): UserPropertiesBuilder

Sets the under age of consent flag using a string value.

Return

This builder instance for method chaining

Parameters

tagForUnderAgeOfConsent

"true", "false", or null