public static enum AuthorizationResult.RESULT_CODE extends Enum<AuthorizationResult.RESULT_CODE>
Enum Constant and Description |
---|
CANCEL |
ERROR |
OAUTH_ERROR |
PASS |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static AuthorizationResult.RESULT_CODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationResult.RESULT_CODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationResult.RESULT_CODE CANCEL
public static final AuthorizationResult.RESULT_CODE ERROR
public static final AuthorizationResult.RESULT_CODE OAUTH_ERROR
public static final AuthorizationResult.RESULT_CODE PASS
public static final AuthorizationResult.RESULT_CODE SUCCESS
public static AuthorizationResult.RESULT_CODE 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 nullpublic static AuthorizationResult.RESULT_CODE[] values()
for (AuthorizationResult.RESULT_CODE c : AuthorizationResult.RESULT_CODE.values()) System.out.println(c);