GDPR

data class GDPR(val consent: String, val isRulesEnabled: Boolean? = null)

An app can ask users about their consent for sharing information with third parties.

Note: The SDK can forward users preferences if they follow the TCF v2 format.

See also

Constructors

Link copied to clipboard
constructor(consent: String, isRulesEnabled: Boolean? = null)

Properties

Link copied to clipboard

Base64 encoded string following the TCF format.

Link copied to clipboard
val isRulesEnabled: Boolean? = null

Set this value to false if GDPR rules should not apply.