VendorConsent

class VendorConsent(vendorConsentDelegate: VendorConsent.VendorConsentDelegate) : ConsentImplementation, Consent

Type of Consent where the publisher can pass Non-IAB consent state for specific vendors. Will read the IAB consent string and CCPA string from SharedPreferences if available.

Parameters

vendorConsentDelegate

The VendorConsent.VendorConsentDelegate instance. Must not be null.

Constructors

Link copied to clipboard
constructor(vendorConsentDelegate: VendorConsent.VendorConsentDelegate)

Types

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.