public enum AuthProviderType extends Enum<AuthProviderType>
| Modifier and Type | Method and Description |
|---|---|
FirebaseAuthProvider |
createProvider(android.content.Context context,
com.firebase.client.Firebase ref,
TokenAuthHandler handler) |
int |
getButtonId() |
String |
getName() |
static AuthProviderType |
getTypeForProvider(FirebaseAuthProvider provider) |
static AuthProviderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthProviderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthProviderType GOOGLE
public static final AuthProviderType FACEBOOK
public static final AuthProviderType TWITTER
public static final AuthProviderType PASSWORD
public static AuthProviderType[] values()
for (AuthProviderType c : AuthProviderType.values()) System.out.println(c);
public static AuthProviderType 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 String getName()
public int getButtonId()
public FirebaseAuthProvider createProvider(android.content.Context context, com.firebase.client.Firebase ref, TokenAuthHandler handler)
public static AuthProviderType getTypeForProvider(FirebaseAuthProvider provider)