GDPR

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

An app can ask users about their consent for sharing information with third parties. The SDK can forward users preferences if they follow the TCF format, see more in GlobalParameters.gdpr

Parameters

consent

base64 encoded string following the TCF format

isRulesEnabled

set to false if the external ID is not stable, for example if it is an advertising ID that can change

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val isRulesEnabled: Boolean? = null