GraphUser
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

Provides a strongly-typed representation of a User as defined by the Graph API.

Note that this interface is intended to be used with GraphObject.Factory and not implemented directly.

การนำไปใช้:GraphObject
แพ็คเกจ:model
วิธีการแบบอินสแตนซ์
getId()

Returns the ID of the user.

public String getId()
Returns
The ID of the user
setId(String)

Sets the ID of the user.

public void setId(String id)
พารามิเตอร์คำอธิบาย
idThe ID of the user
getName()

Returns the name of the user.

public String getName()
Returns
The name of the user
setName(String)

Sets the name of the user.

public void setName(String name)
พารามิเตอร์คำอธิบาย
nameThe name of the user
getFirstName()

Returns the first name of the user.

public String getFirstName()
Returns
The first name of the user
setFirstName(String)

Sets the first name of the user.

public void setFirstName(String firstName)
พารามิเตอร์คำอธิบาย
firstNameThe first name of the user
getMiddleName()

Returns the middle name of the user.

public String getMiddleName()
Returns
The middle name of the user
setMiddleName(String)

Sets the middle name of the user.

public void setMiddleName(String middleName)
พารามิเตอร์คำอธิบาย
middleNameThe middle name of the user
getLastName()

Returns the last name of the user.

public String getLastName()
Returns
The last name of the user
setLastName(String)

Sets the last name of the user.

public void setLastName(String lastName)
พารามิเตอร์คำอธิบาย
lastNameThe last name of the user
getUsername()

Returns the Facebook username of the user.

public String getUsername()
Returns
The Facebook username of the user
setUsername(String)

Sets the Facebook username of the user.

public void setUsername(String username)
พารามิเตอร์คำอธิบาย
usernameThe Facebook username of the user
getBirthday()

Returns the birthday of the user.

public String getBirthday()
Returns
The birthday of the user
setBirthday(String)

Sets the birthday of the user.

public void setBirthday(String birthday)
พารามิเตอร์คำอธิบาย
birthdayThe birthday of the user
getLocation()

Returns the current place of the user.

public GraphPlace getLocation()
Returns
The current place of the user
setLocation(GraphPlace)

Sets the current place of the user.

public void setLocation(GraphPlace location)
พารามิเตอร์คำอธิบาย
locationThe current place of the user