|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ProfileField>
com.google.code.facebookapi.ProfileField
public enum ProfileField
Enum for specifying profile-field names. When making API calls, you can generally just pass a set of literal strings specifying field-names if your prefer.
| Enum Constant Summary | |
|---|---|
ABOUT_ME
More information about the user being queried. |
|
ACTIVITIES
The activities of the user being queried. |
|
AFFILIATIONS
The networks to which the user being queried belongs. |
|
ALLOWED_RESTRICTIONS
A comma delimited list of Demographic Restrictions types a user is allowed to access. |
|
BIRTHDAY
The birthday of the user being queried. |
|
BOOKS
The favorite books of the user being queried. |
|
CURRENT_LOCATION
The current location of the user being queried. |
|
EDUCATION_HISTORY
Post-high school information for the user being queried. |
|
EMAIL_HASHES
An array containing a set of confirmed email hashes for the user. |
|
FIRST_NAME
The first name of the user being queried. |
|
HAS_ADDED_APP
Deprecated. |
|
HOMETOWN_LOCATION
The home town (and state) of the user being queried. |
|
HS_INFO
Information about high school of the user being queried. |
|
INTERESTS
The interests of the user being queried. |
|
IS_APP_USER
Indicates whether the user being queried has logged in to the current application. |
|
LAST_NAME
The last name of the user being queried. |
|
LOCALE
The two-letter country code for the user's locale. |
|
MEETING_FOR
The reason the user being queried wants to meet someone. |
|
MEETING_SEX
The sex of the person the user being queried wants to meet. |
|
MOVIES
The favorite movies of the user being queried. |
|
MUSIC
The favorite music of the user being queried. |
|
NAME
The full name of the user being queried. |
|
NOTES_COUNT
The number of notes from the user being queried. |
|
ONLINE_PRESENCE
The user's Facebook Chat status. |
|
PIC
The URL to the medium-sized profile picture for the user being queried. |
|
PIC_BIG
The URL to the largest-sized profile picture for the user being queried. |
|
PIC_BIG_WITH_LOGO
The URL to the largest-sized profile picture for the user being queried. |
|
PIC_SMALL
The URL to the small-sized profile picture for the user being queried. |
|
PIC_SMALL_WITH_LOGO
The URL to the small-sized profile picture for the user being queried. |
|
PIC_SQUARE
The URL to the square profile picture for the user being queried. |
|
PIC_SQUARE_WITH_LOGO
The URL to the square profile picture for the user being queried. |
|
PIC_WITH_LOGO
The URL to the medium-sized profile picture for the user being queried. |
|
POLITICAL
The political views of the user being queried. |
|
PROFILE_UPDATE_TIME
The time the profile of the user being queried was most recently updated. |
|
PROFILE_URL
The URL to a user's profile. |
|
PROXIED_EMAIL
The proxied wrapper for a user's email address. |
|
QUOTES
The favorite quotes of the user being queried. |
|
RELATIONSHIP_STATUS
The type of relationship for the user being queried. |
|
RELIGION
The religion of the user being queried. |
|
SEX
The sex of the user being queried. |
|
SIGNIFICANT_OTHER_ID
The user ID of the partner (for example, husband, wife, boyfriend, girlfriend) of the user being queried. |
|
STATUS
The current status of the user being queried. |
|
TIMEZONE
The time zone where the user being queried is located. |
|
TV
The favorite television shows of the user being queried. |
|
UID
The user ID of the user being queried. |
|
VERIFIED
Indicates whether or not Facebook has verified the user. |
|
WALL_COUNT
The number of wall posts for the user being queried. |
|
WORK_HISTORY
The work history of the user being queried. |
|
| Method Summary | |
|---|---|
java.lang.String |
fieldName()
|
boolean |
isName(java.lang.String name)
|
java.lang.String |
toString()
|
static ProfileField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProfileField[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ProfileField UID
public static final ProfileField FIRST_NAME
public static final ProfileField LAST_NAME
public static final ProfileField NAME
public static final ProfileField PIC_SMALL
public static final ProfileField PIC_BIG
public static final ProfileField PIC_SQUARE
public static final ProfileField PIC
public static final ProfileField AFFILIATIONS
public static final ProfileField PROFILE_UPDATE_TIME
public static final ProfileField TIMEZONE
public static final ProfileField RELIGION
public static final ProfileField BIRTHDAY
public static final ProfileField SEX
public static final ProfileField HOMETOWN_LOCATION
public static final ProfileField MEETING_SEX
public static final ProfileField MEETING_FOR
public static final ProfileField RELATIONSHIP_STATUS
public static final ProfileField SIGNIFICANT_OTHER_ID
public static final ProfileField POLITICAL
public static final ProfileField CURRENT_LOCATION
public static final ProfileField ACTIVITIES
public static final ProfileField INTERESTS
public static final ProfileField IS_APP_USER
public static final ProfileField MUSIC
public static final ProfileField TV
public static final ProfileField MOVIES
public static final ProfileField BOOKS
public static final ProfileField QUOTES
public static final ProfileField ABOUT_ME
public static final ProfileField HS_INFO
public static final ProfileField EDUCATION_HISTORY
public static final ProfileField WORK_HISTORY
public static final ProfileField NOTES_COUNT
public static final ProfileField WALL_COUNT
public static final ProfileField STATUS
@Deprecated public static final ProfileField HAS_ADDED_APP
public static final ProfileField ONLINE_PRESENCE
public static final ProfileField LOCALE
public static final ProfileField PROXIED_EMAIL
public static final ProfileField PROFILE_URL
public static final ProfileField EMAIL_HASHES
public static final ProfileField PIC_SMALL_WITH_LOGO
public static final ProfileField PIC_BIG_WITH_LOGO
public static final ProfileField PIC_SQUARE_WITH_LOGO
public static final ProfileField PIC_WITH_LOGO
public static final ProfileField ALLOWED_RESTRICTIONS
public static final ProfileField VERIFIED
| Method Detail |
|---|
public static ProfileField[] values()
for (ProfileField c : ProfileField.values()) System.out.println(c);
public static ProfileField 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 name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String fieldName()
public java.lang.String toString()
toString in class java.lang.Enum<ProfileField>public boolean isName(java.lang.String name)
name - the name to check against
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||