XMediator::Api::CMPProviderService
This class is the entry point for interacting with the CMP provider.
Public Functions
| Name | |
|---|---|
| bool | IsPrivacyFormAvailable() Returns true if the CMP has a form available to show to the user, false otherwise. Requires the CMP to have updated the user requirements in this session, this can either be done by enabling CMP Automation on XMediator or by requesting it to the CMP directly via its SDK API. |
| void | ShowPrivacyForm(Action< Exception > onComplete =null) Shows the CMP privacy form if available. |
| void | Reset() Resets the user's consent (debug only). |
Public Functions Documentation
function IsPrivacyFormAvailable
Returns true if the CMP has a form available to show to the user, false otherwise. Requires the CMP to have updated the user requirements in this session, this can either be done by enabling CMP Automation on XMediator or by requesting it to the CMP directly via its SDK API.
function ShowPrivacyForm
Shows the CMP privacy form if available.
function Reset
Resets the user's consent (debug only).
Updated on 2025-06-06 at 15:48:42 +0000