public static enum ManagedConsent.ManagedConsentState extends Enum<ManagedConsent.ManagedConsentState>
| Enum Constant and Description |
|---|
CUSTOM
Partial consent has been granted by the user - at least some purposes and some vendors were given consent.
|
OBTAINED
Full consent has been granted by the user.
|
UNKNOWN
No information about consent state.
|
WITHHELD
Consent has been declined by the user.
|
| Modifier and Type | Method and Description |
|---|---|
static ManagedConsent.ManagedConsentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ManagedConsent.ManagedConsentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManagedConsent.ManagedConsentState UNKNOWN
public static final ManagedConsent.ManagedConsentState WITHHELD
public static final ManagedConsent.ManagedConsentState CUSTOM
public static final ManagedConsent.ManagedConsentState OBTAINED
public static ManagedConsent.ManagedConsentState[] values()
for (ManagedConsent.ManagedConsentState c : ManagedConsent.ManagedConsentState.values()) System.out.println(c);
public static ManagedConsent.ManagedConsentState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null