public enum SignInMethod extends java.lang.Enum<SignInMethod>
| Enum Constant and Description |
|---|
EMAIL |
SCREEN_NAME |
USER_ID |
| Modifier and Type | Method and Description |
|---|---|
static SignInMethod |
fromUsername(java.lang.String username) |
protected static boolean |
isUserId(java.lang.String username) |
static SignInMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignInMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignInMethod USER_ID
public static final SignInMethod EMAIL
public static final SignInMethod SCREEN_NAME
public static SignInMethod[] values()
for (SignInMethod c : SignInMethod.values()) System.out.println(c);
public static SignInMethod 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 SignInMethod fromUsername(java.lang.String username)
protected static boolean isUserId(java.lang.String username)