CMPSdkPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • CMPSdkPlatform
Implementers

Constructors

CMPSdkPlatform()
Constructs a CMPSdkPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptAll() Future<void>
acceptPurposes(List<String> purposes, {bool updateVendors = true}) Future<void>
acceptVendors(List<String> vendors) Future<void>
addEventListeners({DidReceiveConsent? didReceiveConsent, DidShowConsentLayer? didShowConsentLayer, DidCloseConsentLayer? didCloseConsentLayer, DidChangeATTStatus? didChangeATTStatus, DidReceiveError? didReceiveError}) Future<void>
checkIfConsentIsRequired() Future<bool>
checkWithServerAndOpenIfNecessary() Future<void>
exportCMPInfo() Future<String?>
getAllPurposesIDs() Future<List>
getAllVendorsIDs() Future<List>
getATTAuthorizationStatus() Future<ATTStatus>
getDisabledPurposesIDs() Future<List>
getDisabledVendorsIDs() Future<List>
getEnabledPurposesIDs() Future<List>
getEnabledVendorsIDs() Future<List>
hasPurposeConsent(String id, {bool defaultReturn = true}) Future<bool>
hasUserChoice() Future<bool>
hasVendorConsent(String id, {bool defaultReturn = true}) Future<bool>
importCMPInfo(String cmpString) Future<bool>
initialize() Future<void>
jumpToSettings() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openConsentLayer() Future<void>
rejectAll() Future<void>
rejectPurposes(List<String> purposes, {bool updateVendors = true}) Future<void>
rejectVendors(List<String> vendors) Future<void>
requestATTPermission() Future<void>
resetConsentManagementData() Future<void>
setUrlConfig({required String id, required String domain, required String appName, required String language}) Future<void>
setWebViewConfig(ConsentLayerUIConfig config) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance CMPSdkPlatform
The default instance of CMPSdkPlatform to use.
getter/setter pair