Method IsConsentDenied
IsConsentDenied()
Checks if the consent was denied or the user already opted-out.
If the required legislation is PIPL, it takes priority over any other legislation. Even if the user did not
opt out from CCPA/GDPR/etc, but denied consent for PIPL, this method will return true.
If PIPL is not required, the method does not take into account PIPL consent status.
It requires CheckGeoIP
method to be called beforehand.
If the user already started the process of opting out, but it wasn't finished yet, the method will return false.
Declaration
public bool IsConsentDenied()
Returns
Type | Description |
---|---|
bool | A boolean value whether the required consent was either denied or the user opted out. |
Implements
Exceptions
Type | Condition |
---|---|
ConsentCheckException | Thrown if the required consent flow cannot be determined. |