EventListener class
Listener to events sent by the Didomi SDK
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onConsentChanged ↔ dynamic Function()
-
User consent was updated
getter/setter pair
- onError ↔ dynamic Function(String message)
-
SDK encountered an error
getter/setter pair
- onHideNotice ↔ dynamic Function()
-
Notice was hidden
getter/setter pair
- onHidePreferences ↔ dynamic Function()
-
Preferences screen was hidden
getter/setter pair
- onLanguageUpdated ↔ dynamic Function(String languageCode)
-
The language update is complete
getter/setter pair
- onLanguageUpdateFailed ↔ dynamic Function(String reason)
-
The language update is complete
getter/setter pair
- onNoticeClickAgree ↔ dynamic Function()
-
Agree to all was clicked from the notice
getter/setter pair
- onNoticeClickDisagree ↔ dynamic Function()
-
Disagree to all was clicked from the notice
getter/setter pair
- onNoticeClickMoreInfo ↔ dynamic Function()
-
Preferences screen was opened from the notice
getter/setter pair
- onNoticeClickPrivacyPolicy ↔ dynamic Function()
-
Privacy policy was opened from the notice (TV)
getter/setter pair
- onNoticeClickViewSPIPurposes ↔ dynamic Function()
-
SPI screen was opened from the notice
getter/setter pair
- onNoticeClickViewVendors ↔ dynamic Function()
-
Vendors screen was opened from the notice
getter/setter pair
- onPreferencesClickAgreeToAll ↔ dynamic Function()
-
Agree to all was clicked from the preferences screen
getter/setter pair
- onPreferencesClickAgreeToAllPurposes ↔ dynamic Function()
-
Purposes bulk action was switched to Agree
getter/setter pair
- onPreferencesClickAgreeToAllVendors ↔ dynamic Function()
-
Vendors bulk action was switched to Agree
getter/setter pair
- onPreferencesClickCategoryAgree ↔ dynamic Function(String categoryId)
-
User switched a category status to Agree
getter/setter pair
- onPreferencesClickCategoryDisagree ↔ dynamic Function(String categoryId)
-
User switched a category status to Disagree
getter/setter pair
- onPreferencesClickDisagreeToAll ↔ dynamic Function()
-
Disagree to all was clicked from the preferences screen
getter/setter pair
- onPreferencesClickDisagreeToAllPurposes ↔ dynamic Function()
-
Purposes bulk action was switched to Disagree
getter/setter pair
- onPreferencesClickDisagreeToAllVendors ↔ dynamic Function()
-
Vendors bulk action was switched to Disagree
getter/setter pair
- onPreferencesClickPurposeAgree ↔ dynamic Function(String purposeId)
-
User switched a purpose status to Agree
getter/setter pair
- onPreferencesClickPurposeDisagree ↔ dynamic Function(String purposeId)
-
User switched a purpose status to Disagree
getter/setter pair
- onPreferencesClickResetAllPurposes ↔ dynamic Function()
-
Purposes bulk action was switched to neutral
getter/setter pair
- onPreferencesClickSaveChoices ↔ dynamic Function()
-
Save button was clicked from preferences screen
getter/setter pair
- onPreferencesClickSPICategoryAgree ↔ dynamic Function(String categoryId)
-
User switched a SPI category status to Agree
getter/setter pair
- onPreferencesClickSPICategoryDisagree ↔ dynamic Function(String categoryId)
-
User switched a SPI category status to Disagree
getter/setter pair
- onPreferencesClickSPIPurposeAgree ↔ dynamic Function(String purposeId)
-
User switched a SPI purpose status to Agree
getter/setter pair
- onPreferencesClickSPIPurposeDisagree ↔ dynamic Function(String purposeId)
-
User switched a SPI purpose status to Disagree
getter/setter pair
- onPreferencesClickSPIPurposeSaveChoices ↔ dynamic Function()
-
Save button was clicked from SPI screen
getter/setter pair
- onPreferencesClickVendorAgree ↔ dynamic Function(String vendorId)
-
User switched a vendor status to Agree
getter/setter pair
- onPreferencesClickVendorDisagree ↔ dynamic Function(String vendorId)
-
User switched a vendor status to Disagree
getter/setter pair
- onPreferencesClickVendorSaveChoices ↔ dynamic Function()
-
Save button was clicked from vendors screen
getter/setter pair
- onPreferencesClickViewPurposes ↔ dynamic Function()
-
Purposes tab was opened on preferences screen (TV)
getter/setter pair
- onPreferencesClickViewSPIPurposes ↔ dynamic Function()
-
SPI screen was opened from preferences screen
getter/setter pair
- onPreferencesClickViewVendors ↔ dynamic Function()
-
Vendors screen was opened from preferences screen
getter/setter pair
- onReady ↔ dynamic Function()
-
SDK is ready
getter/setter pair
- onShowNotice ↔ dynamic Function()
-
Notice was displayed or should be displayed
getter/setter pair
- onShowPreferences ↔ dynamic Function()
-
Preferences screen was displayed
getter/setter pair
- onSyncDone ↔ dynamic Function(String organizationUserId)
-
User consent synchronization was done
getter/setter pair
- onSyncError ↔ dynamic Function(String error)
-
User consent synchronization failed
getter/setter pair
- onSyncReady ↔ dynamic Function(SyncReadyEvent event)
-
User consent synchronization is ready
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited