public static enum FacebookRequestError.Category extends java.lang.Enum<FacebookRequestError.Category>
| Enum Constant and Description |
|---|
LOGIN_RECOVERABLE
Indicates that the error is authentication related.
|
OTHER
Indicates that the error is not transient or recoverable by the Facebook SDK.
|
TRANSIENT
Indicates that the error is transient, the request can be attempted again.
|
| Modifier and Type | Method and Description |
|---|---|
static FacebookRequestError.Category |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacebookRequestError.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacebookRequestError.Category LOGIN_RECOVERABLE
com.facebook.login.LoginManager#resolveError(android.app.Activity, GraphResponse) method
or com.facebook.login.LoginManager#resolveError(androidx.fragment.app.Fragment,
GraphResponse) method can be called to recover from this error.public static final FacebookRequestError.Category OTHER
public static final FacebookRequestError.Category TRANSIENT
public static FacebookRequestError.Category[] values()
for (FacebookRequestError.Category c : FacebookRequestError.Category.values()) System.out.println(c);
public static FacebookRequestError.Category 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