public enum UserProfileAccessConsentStatus extends java.lang.Enum<UserProfileAccessConsentStatus>
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 UserProfileAccessConsentStatus |
getEnumForValue(java.lang.String userProfileAccessConsentStatus)
Converts UserProfileAccessConsentStatus string to ENUM.
|
static UserProfileAccessConsentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserProfileAccessConsentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserProfileAccessConsentStatus CONSENTED
public static final UserProfileAccessConsentStatus UNAVAILABLE
public static UserProfileAccessConsentStatus[] values()
for (UserProfileAccessConsentStatus c : UserProfileAccessConsentStatus.values()) System.out.println(c);
public static UserProfileAccessConsentStatus 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 UserProfileAccessConsentStatus getEnumForValue(java.lang.String userProfileAccessConsentStatus)
UserProfileAccessConsentStatus.UNAVAILABLE
, if string does not matchuserProfileAccessConsentStatus
-