public enum ConsentOptions extends java.lang.Enum<ConsentOptions>
ConsentOptions.| Enum Constant and Description |
|---|
ALWAYS
Always ask for consent.
|
ATTRIBUTE_NAME
Always ask for consent.
|
ATTRIBUTE_VALUE
Always ask for consent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ConsentOptions |
valueOf(int value)
Value of consent options.
|
static ConsentOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsentOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsentOptions ALWAYS
public static final ConsentOptions ATTRIBUTE_NAME
public static final ConsentOptions ATTRIBUTE_VALUE
public static ConsentOptions[] values()
for (ConsentOptions c : ConsentOptions.values()) System.out.println(c);
public static ConsentOptions valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ConsentOptions valueOf(int value)
value - the value