- Inheritance
-
- Object
- PlatformInterface
- CmpSdkPlatform
- Implementers
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>
-
-
addEventListeners({ConsentCallback? onOpen, ConsentCallback? onClose, ConsentCallback? onNotOpened, ConsentErrorCallback? onError, ConsentButtonClickedCallback? onButtonClicked, OnGoogleConsentUpdated? onGoogleConsentUpdated})
→ Future<void>
-
-
check({bool isCached = false})
→ Future<bool>
-
-
configureConsentLayer({ScreenConfig config = ScreenConfig.fullScreen})
→ Future<void>
-
-
consentRequestedToday()
→ Future<bool>
-
-
createInstance(String id, String domain, String appName, String language)
→ Future<void>
-
-
createInstanceWithConfig(CmpConfig config)
→ Future<void>
-
-
disablePurposes(List<String> purposes, {bool updateVendors = true})
→ Future<void>
-
-
disableVendors(List<String> vendors)
→ Future<void>
-
-
enablePurposes(List<String> purposes, {bool updateVendors = true})
→ Future<void>
-
-
enableVendors(List<String> vendors)
→ Future<void>
-
-
exportCmpString()
→ Future<String?>
-
-
getAllPurposes()
→ Future<List>
-
-
getAllVendors()
→ Future<List>
-
-
getDisabledPurposes()
→ Future<List>
-
-
getDisabledVendors()
→ Future<List>
-
-
getEnabledPurposes()
→ Future<List>
-
-
getEnabledVendors()
→ Future<List>
-
-
getGoogleACString()
→ Future<String?>
-
-
getLastATTRequestDate()
→ Future<DateTime>
-
-
getPlatformVersion()
→ Future<String?>
-
-
getUSPrivacyString()
→ Future<String?>
-
-
hasConsent()
→ Future<bool>
-
-
hasPurpose(String id, {bool defaultReturn = true})
→ Future<bool>
-
-
hasVendor(String id, {bool defaultReturn = true})
→ Future<bool>
-
-
importCmpString(String cmpString)
→ Future<bool>
-
-
initialize()
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openConsentLayer()
→ Future<void>
-
-
openConsentLayerOnCheck()
→ Future<void>
-
-
rejectAll()
→ Future<void>
-
-
requestATTPermission()
→ Future<void>
-
-
reset()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited