A wrapper for all the data that needs to be disclosed to the end-user if TCF is enabled

Hierarchy

  • TCFData

Properties

acmVendors: ACMVendor[]

A list of all Additional Consent Mode vendors that need to be disclosed to the end-user if ACM is enabled

features: BasePurpose[]

A list of all the TCF features that need to be disclosed to the end-user if TCF is enabled

purposes: TCFPurpose[]

A list of all the TCF purposes that need to be disclosed to the end-user if TCF is enabled

specialFeatures: TCFSpecialFeature[]

A list of all the TCF special features that need to be disclosed to the end-user if TCF is enabled

specialPurposes: BasePurpose[]

A list of all the TCF special purposes that need to be disclosed to the end-user if TCF is enabled

stacks: TCFStack[]

A list of all TCF stacks that need to be disclosed to the end-user if TCF is enabled. On the first layer of a TCF UI, stacks may be shown as alternative its comprising purposes and special features. However, on the second layer, this is not allowed according to the IAB TCF v.2.0 guidelines. Also on the first layer, a purpose or special feature may not be shown if a stack containing this purpose or special feature is already displayed. Note, that all purposes and special features that are part of stacks will still be listed in the TCFData purposes and special features fields, but they will be flagged with isPartOfASelectedStack = true and include a non-null stackId.

vendors: TCFVendor[]

A list of all TCF vendors that need to be disclosed to the end-user if TCF is enabled