public static enum LoginMethod.Type extends java.lang.Enum<LoginMethod.Type>
Enum Constant and Description |
---|
ANONYMOUS
Logs in to Gluon Cloud as an anonymous user.
|
FACEBOOK
Logs in to Gluon Cloud using Facebook.
|
GOOGLE_PLUS
Logs in to Gluon Cloud using Google+.
|
PASSWORD
Logs in to Gluon Cloud using a simple email and password combination.
|
TWITTER
Logs in to Gluon Cloud using Twitter.
|
Modifier and Type | Method and Description |
---|---|
static LoginMethod.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginMethod.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginMethod.Type ANONYMOUS
public static final LoginMethod.Type FACEBOOK
public static final LoginMethod.Type GOOGLE_PLUS
public static final LoginMethod.Type PASSWORD
public static final LoginMethod.Type TWITTER
public static LoginMethod.Type[] values()
for (LoginMethod.Type c : LoginMethod.Type.values()) System.out.println(c);
public static LoginMethod.Type 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 null