|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphLocation
Provides a strongly-typed representation of a Location as defined by the Graph API. Note that this interface is intended to be used with GraphObject.Factory and not implemented directly.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.facebook.model.GraphObject |
---|
GraphObject.Factory |
Method Summary | |
---|---|
String |
getCity()
Gets the city component of the location. |
String |
getCountry()
Returns the country component of the location. |
double |
getLatitude()
Returns the latitude component of the location. |
double |
getLongitude()
Returns the longitude component of the location. |
String |
getState()
Returns the state component of the location. |
String |
getStreet()
Returns the street component of the location. |
String |
getZip()
Returns the postal code component of the location. |
void |
setCity(String city)
Sets the city component of the location. |
void |
setCountry(String country)
Sets the country component of the location |
void |
setLatitude(double latitude)
Sets the latitude component of the location. |
void |
setLongitude(double longitude)
Sets the longitude component of the location. |
void |
setState(String state)
Sets the state component of the location. |
void |
setStreet(String street)
Sets the street component of the location. |
void |
setZip(String zip)
Sets the postal code component of the location. |
Methods inherited from interface com.facebook.model.GraphObject |
---|
asMap, cast, getInnerJSONObject, getProperty, removeProperty, setProperty |
Method Detail |
---|
String getStreet()
void setStreet(String street)
street
- the street component of the location, or nullString getCity()
void setCity(String city)
city
- the city component of the locationString getState()
void setState(String state)
state
- the state component of the locationString getCountry()
void setCountry(String country)
country
- the country component of the locationString getZip()
void setZip(String zip)
zip
- the postal code component of the locationdouble getLatitude()
void setLatitude(double latitude)
latitude
- the latitude component of the locationdouble getLongitude()
void setLongitude(double longitude)
longitude
- the longitude component of the location
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |