public static enum AuthorizationStatus.State extends Enum<AuthorizationStatus.State>
| Enum Constant and Description |
|---|
FAILURE |
NONE |
SEEKING_ACCESS_TOKEN |
SEEKING_AUTHORIZATION |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizationStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationStatus.State NONE
public static final AuthorizationStatus.State SEEKING_AUTHORIZATION
public static final AuthorizationStatus.State SEEKING_ACCESS_TOKEN
public static final AuthorizationStatus.State FAILURE
public static final AuthorizationStatus.State SUCCESS
public static AuthorizationStatus.State[] values()
for (AuthorizationStatus.State c : AuthorizationStatus.State.values()) System.out.println(c);
public static AuthorizationStatus.State 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 nullCopyright © 2017. All rights reserved.