getAdditionalConsent method

Future<ConsentStatus> getAdditionalConsent(
  1. int providerId
)

Parses the SharedPreferences string with key IABTCF_AddtlConsent to determine the consent status of the advertising entity with the provided Ad Technology Provider (ATP) ID.

@param providerId ATP ID of the advertising entity (e.g. 89 for Meta Audience Network). @return ConsentStatus.accepted if the advertising entity has consent, ConsentStatus.denied if not, or ConsentStatus.undefined if AddtlConsent is not available on disk. @see Google’s Additional Consent Mode technical specification @see List of Google ATPs and their IDs

Implementation

Future<ConsentStatus> getAdditionalConsent(int providerId) {
  return casInternalBridge.getAdditionalConsent(providerId);
}