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> -
check(
{bool isCached = false}) → Future< bool> -
configureConsentLayer(
CmpUiConfig config) → Future< void> -
consentRequestedToday(
) → Future< bool> -
createInstance(
String id, String domain, String appName, String language) → Future< void> -
createInstanceWithConfig(
CmpConfig config) → 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?> -
getPlatformVersion(
) → Future< String?> -
getUSPrivacyString(
) → Future< String?> -
hasConsent(
) → Future< bool> -
hasPurpose(
String id) → Future< bool> -
hasVendor(
String id) → Future< bool> -
importCmpString(
String cmpString) → Future< bool> -
initializeCmp(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< void> -
openConsentLayerOnCheck(
) → Future< void> -
rejectAll(
) → Future< void> -
reset(
) → Future< void> -
setCallbacks(
{ConsentCallback? onOpen, ConsentCallback? onClose, ConsentCallback? onNotOpened, ConsentErrorCallback? onError, ConsentButtonClickedCallback? onButtonClicked}) → 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