MethodChannelConsentSdkPlugin class
An implementation of ConsentSdkPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ConsentSdkPluginPlatform
- MethodChannelConsentSdkPlugin
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBannerConfig(
[MainConfiguration? cdn]) → Future< BannerConfig?> -
override
-
getConsent(
dynamic identifier) → Future< ConsentStatus> -
override
-
getPermissions(
) → Future< List< AppPermission> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getPurposes(
) → Future< List< Purpose> > -
override
-
getSdksInPurpose(
int purposeId) → Future< List> -
override
-
getSettingsPrompt(
) → Future< SettingsPrompt?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presentConsentBanner(
) → void -
override
-
presentPreferenceCenter(
) → void -
override
-
resetConsents(
) → Future< void> -
override
-
setConsent(
dynamic entity, ConsentStatus status) → Future< void> -
override
-
setupSDK(
Map options) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadConsents(
PostConsentsRequest request) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited