childDirectedTreatment

fun childDirectedTreatment(tagForChildDirectedTreatment: Boolean?): UserPropertiesBuilder

Sets the child-directed treatment flag (COPPA compliance).

Return

This builder instance for method chaining

Parameters

tagForChildDirectedTreatment

true if content is directed to children


fun childDirectedTreatment(tagForChildDirectedTreatment: String?): UserPropertiesBuilder

Sets the child-directed treatment flag using a string value.

Return

This builder instance for method chaining

Parameters

tagForChildDirectedTreatment

"true", "false", or null