SimpleConsent

class SimpleConsent(val nonIABConsent: NonIABConsent) : ConsentImplementation, Consent

Allows to set the status of Non-IAB consent. Will also read the IAB consent string and CCPA string from SharedPreferences if available.

Constructors

Link copied to clipboard
constructor(nonIABConsent: NonIABConsent)

Properties

Link copied to clipboard

Inherited properties

Link copied to clipboard
Link copied to clipboard
var consentStringVersion: ConsentImplementation.ConsentStringVersion?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
Link copied to clipboard
fun reconfigure(context: Context)
Link copied to clipboard
abstract fun setNoConsentNetworkStopSet(stopSet: Set<AdNetwork>?)

Sets to set the networks that will not be requested if they do not have the TCF2 consent. Only works if TCF2 compliant CMP is used.