|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AccessTokenSource>
com.facebook.AccessTokenSource
public enum AccessTokenSource
Indicates where a Facebook access token was obtained from.
Enum Constant Summary | |
---|---|
CLIENT_TOKEN
Indicates an access token constructed with a Client Token. |
|
FACEBOOK_APPLICATION_NATIVE
Indicates an access token was obtained by the user logging in through the Facebook app for Android using the native login dialog. |
|
FACEBOOK_APPLICATION_SERVICE
Indicates an access token was obtained by asking the Facebook app for the current token based on permissions the user has already granted to the app. |
|
FACEBOOK_APPLICATION_WEB
Indicates an access token was obtained by the user logging in through the Facebook app for Android using the web login dialog. |
|
NONE
Indicates an access token has not been obtained, or is otherwise invalid. |
|
TEST_USER
Indicates an access token is for a test user rather than an actual Facebook user. |
|
WEB_VIEW
Indicates an access token was obtained by the user logging in through the Web-based dialog. |
Method Summary | |
---|---|
static AccessTokenSource |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AccessTokenSource[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AccessTokenSource NONE
public static final AccessTokenSource FACEBOOK_APPLICATION_WEB
public static final AccessTokenSource FACEBOOK_APPLICATION_NATIVE
public static final AccessTokenSource FACEBOOK_APPLICATION_SERVICE
public static final AccessTokenSource WEB_VIEW
public static final AccessTokenSource TEST_USER
public static final AccessTokenSource CLIENT_TOKEN
Method Detail |
---|
public static AccessTokenSource[] values()
for (AccessTokenSource c : AccessTokenSource.values()) System.out.println(c);
public static AccessTokenSource valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |