public enum LWAConsentStatus extends java.lang.Enum<LWAConsentStatus>
| Enum Constant and Description |
|---|
CONSENTED
User has provided consent to access data.
|
UNAVAILABLE
AppstoreSDK not aware of data access consent status.
|
| Modifier and Type | Method and Description |
|---|---|
static LWAConsentStatus |
getEnumForValue(java.lang.String lwaConsentStatus)
Converts LWAConsentStatus string to ENUM.
|
static LWAConsentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LWAConsentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LWAConsentStatus CONSENTED
public static final LWAConsentStatus UNAVAILABLE
public static LWAConsentStatus[] values()
for (LWAConsentStatus c : LWAConsentStatus.values()) System.out.println(c);
public static LWAConsentStatus 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 static LWAConsentStatus getEnumForValue(java.lang.String lwaConsentStatus)
LWAConsentStatus.UNAVAILABLE, if string does not matchlwaConsentStatus -