Your unique Usercentrics settingsId
Additional options for initialization of the SDK. Note especially the createTcfApiStub property which is necessary for TCF UIs.
Change the language. All upcoming SDK calls will return information in this language (e.g. getSettings(),getCategories(), getTCFData(), ...). Pay attention that the language needs to be set up in your Usercentrics Admin Interface before!
The language to switch to (ISO 639-1 code)
Retrieve the controllerId, that's generated for the user.
Retrieve all settings.
Initializes the Usercentrics framework. This method must be called when loading your website. The return value defines which UI layer & variant you should initially show for your users.
Mark all services as "consent given" (e.g. an accept all button was clicked). The SDK will store the consent information and trigger events depending on your Usercentrics Settings.
The manner in which the consent was given (explicit vs. implicit). Default: explicit.
Mark all services in a given category as "consent given". The SDK will store the consent information and trigger events depending on your Usercentrics Settings.
Category identifier.
The manner in which the consent was given (explicit vs. implicit). Default: explicit.
Mark all services as "consent denied" (e.g. an deny all button was clicked). Essential services will still be marked as accepted. The SDK will store the consent information and trigger events depending on your Usercentrics Settings.
The manner in which the consent was denied (explicit vs. implicit). Default: explicit.
Mark all services in a given category as "consent denied". Essential services will still be marked as accepted. The SDK will store the consent information and trigger events depending on your Usercentrics Settings.
Category identifier.
The manner in which the consent was denied (explicit vs. implicit). Default: explicit.
Retrieve boolean, that can be used to decide if the user is inside the EU or not.
Retrieve the user's country information.
Retrieve the categories and their services to display this information in your UI.
Retrieve the categories that are marked as essential and their services.
Retrieve all services that are considered essential, because they are placed inside an essential category.
Retrieve the categories that are marked as non-essential and their services.
Retrieve all services that are considered non-essential, because they are placed inside an non-essential category.
Retrieve all services.
Mark given services as "consent given / denied". Essential services will still be marked as accepted. The SDK will store the consent information and trigger events depending on your Usercentrics Settings.
The user's decisions for individual services (see interface definition for details)
The manner in which the consent was given/denied (explicit vs. implicit). Default: explicit.
Mark all disclosed TCF vendors, purposes, specialFeatures as "consent given" and if applicable "legitimate interest given". The SDK will store the consent information and trigger TCF events. NOTE: This function will also mark the TCF UI as being closed! No need to call the setTCFUIAsClosed() method.
The layer from which the consent was given/denied (firstLayer vs. secondLayer).
Mark all disclosed TCF vendors, purposes, specialFeatures as "consent denied" and if applicable "legitimate interest denied". The SDK will store the consent information and trigger TCF events. NOTE: This function will also mark the TCF UI as being closed! No need to call the setTCFUIAsClosed() method.
The layer from which the consent was given/denied (firstLayer vs. secondLayer).
Retrieve all TCF data, including consents and descriptions for TCF vendors, purposes, special purposes, features, special features. Only vendors that have been selected in the admin interface will be returned. Only purposes, features, special features, special purposes that are used by one or more of the selected vendors will re returned.
Mark the TCF UI as being closed and trigger related TCF events. NOTE: Remember to call this ALWAYS when an end-user closes your TCF UI without making any changes!
Mark the TCF UI as being open and trigger related TCF events. NOTE: Remember to call this ALWAYS when an end-user opens up your TCF UI!
Mark given TCF vendors, purposes, specialFeatures as "consent given / denied" and if applicable "legitimate interest given denied". The SDK will store the consent information and trigger TCF events. NOTE: This function will also mark the TCF UI as being closed! No need to call the setTCFUIAsClosed() method.
The user's decisions for individual TCF vendors, purposes, specialFeatures (see interface definition for details)
The layer from which the consent was given/denied (firstLayer vs. secondLayer).