Klasse Location

Alle implementierten Schnittstellen:
Serializable

public class Location extends FacebookType
Represents a location (address and latitude/longitude).

This is used by several Graph API types, e.g. Post and Page.

Seit:
1.6.8
Autor:
Mark Allen
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getStreet

      public String getStreet()
      The street address of this location.
      Gibt zurück:
      The street address of this location.
    • setStreet

      public void setStreet(String street)
      The street address of this location.
    • getCity

      public String getCity()
      The city name of this location.
      Gibt zurück:
      The city name of this location.
    • setCity

      public void setCity(String city)
      The city name of this location.
    • getCityId

      public String getCityId()
      City ID. Any city identified is also a city you can use for targeting ads.
    • setCityId

      public void setCityId(String cityId)
      City ID. Any city identified is also a city you can use for targeting ads.
    • getState

      public String getState()
      The state name of this location.
      Gibt zurück:
      The state name of this location.
    • setState

      public void setState(String state)
      The state name of this location.
    • getCountry

      public String getCountry()
      The country name of this location.
      Gibt zurück:
      The country name of this location.
    • setCountry

      public void setCountry(String country)
      The country name of this location.
    • getCountryCode

      Country code
      Gibt zurück:
      the country code
    • setCountryCode

      public void setCountryCode(String countryCode)
      Country code
    • getZip

      public String getZip()
      The postal code of this location.
      Gibt zurück:
      The postal code of this location.
    • setZip

      public void setZip(String zip)
      The postal code of this location.
    • getLatitude

      public Double getLatitude()
      The latitude of this location.
      Gibt zurück:
      The latitude of this location.
    • setLatitude

      public void setLatitude(Double latitude)
      The latitude of this location.
    • getLongitude

      public Double getLongitude()
      The longitude of this location.
      Gibt zurück:
      The longitude of this location.
    • setLongitude

      public void setLongitude(Double longitude)
      The longitude of this location.
    • getRegion

      public String getRegion()
      The region of this location.
      Gibt zurück:
      The region of this location
    • setRegion

      public void setRegion(String region)
      The region of this location.
    • getRegionId

      public String getRegionId()
      Region ID. Specifies a geographic region, such as California. An identified region is the same as one you can use to target ads.
      Gibt zurück:
      the region id
    • setRegionId

      public void setRegionId(String regionId)
      Region ID. Specifies a geographic region, such as California. An identified region is the same as one you can use to target ads.
    • getName

      public String getName()
      The name of this location.
      Gibt zurück:
      The name of this location
    • setName

      public void setName(String name)
      The name of this location.
    • getLocatedIn

      public String getLocatedIn()
      The parent location if this location is located within another location.
      Gibt zurück:
      The parent location if this location is located within another location
    • setLocatedIn

      public void setLocatedIn(String locatedIn)
      The parent location if this location is located within another location.