public static enum OAuthArguments.UseToken extends Enum<OAuthArguments.UseToken>
| Enum Constant and Description |
|---|
ALWAYS
Use the access token if it exists, and prompt if it doesn't
|
IF_AVAILABLE
Use the access token if it exists already, but don't prompt for permission
|
NEVER
Do not use the OAuth access token
|
| Modifier and Type | Method and Description |
|---|---|
static OAuthArguments.UseToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuthArguments.UseToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuthArguments.UseToken NEVER
public static final OAuthArguments.UseToken IF_AVAILABLE
public static final OAuthArguments.UseToken ALWAYS
public static OAuthArguments.UseToken[] values()
for (OAuthArguments.UseToken c : OAuthArguments.UseToken.values()) System.out.println(c);
public static OAuthArguments.UseToken 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 © 2007-2012. All Rights Reserved.