-
- All Implemented Interfaces:
public final class UserStatusUser Status Type used to represent the user status. This contains all the choices made by the user on the Didomi SDK and other related information such as consent string and dates when the status was created or updated. Essential purposes are considered as enabled in computed/global properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserStatus.PurposesUser Status for Purpose
public final classUserStatus.VendorsUser Status for Vendor
public final classUserStatus.IdsUser Status id lists for vendor or purpose
list of disabled and enabled ids
-
Field Summary
Fields Modifier and Type Field Description private final transient Regulationregulationprivate final UserStatus.Purposespurposesprivate final UserStatus.Vendorsvendorsprivate final StringuserIdprivate final Stringcreatedprivate final Stringupdatedprivate final StringconsentStringprivate final StringadditionalConsent
-
Constructor Summary
Constructors Constructor Description UserStatus(UserStatus.Purposes purposes, UserStatus.Vendors vendors, String userId, String created, String updated, String consentString, String additionalConsent, String regulationString)
-
Method Summary
Modifier and Type Method Description final RegulationgetRegulation()final UserStatus.PurposesgetPurposes()Property that contains the user status associated to purposes. final UserStatus.VendorsgetVendors()Property that contains the user status associated to vendors. final StringgetUserId()Didomi user id final StringgetCreated()User choices creation date final StringgetUpdated()User choices update date final StringgetConsentString()TCF consent as string final StringgetAdditionalConsent()Additional consent -
-
Constructor Detail
-
UserStatus
UserStatus(UserStatus.Purposes purposes, UserStatus.Vendors vendors, String userId, String created, String updated, String consentString, String additionalConsent, String regulationString)
-
-
Method Detail
-
getRegulation
final Regulation getRegulation()
-
getPurposes
final UserStatus.Purposes getPurposes()
Property that contains the user status associated to purposes.
-
getVendors
final UserStatus.Vendors getVendors()
Property that contains the user status associated to vendors.
-
getCreated
final String getCreated()
User choices creation date
-
getUpdated
final String getUpdated()
User choices update date
-
getConsentString
final String getConsentString()
TCF consent as string
-
getAdditionalConsent
final String getAdditionalConsent()
Additional consent
-
-
-
-