Class Place

All Implemented Interfaces:
Serializable

public class Place extends NamedFacebookType
Represents information about the place where an event occurred, for example a Checkin or Photo.
Since:
1.6.10
Author:
Chris Petersen, Mark Allen
See Also:
  • Constructor Details

  • Method Details

    • getCategoryList

      List of other categories for this place.
      Returns:
      List of other categories for this place.
      Since:
      1.6.15
    • addCategory

      public boolean addCategory(Category category)
    • removeCategory

      public boolean removeCategory(Category category)
    • getLocation

      Location containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information). It is possible for Facebook to return either this value or getLocationAsString().
      Returns:
      Location containing geographic information such as latitude, longitude, country, and other fields.
    • setLocation

      public void setLocation(Location location)
      Location containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information). It is possible for Facebook to return either this value or getLocationAsString().
    • getOverallRating

      Overall Rating of Place, on a 5-star scale. 0 means not enough data to get a combined rating.
      Returns:
      Overall Rating of Place, on a 5-star scale.
    • setOverallRating

      public void setOverallRating(Double overallRating)
      Overall Rating of Place, on a 5-star scale. 0 means not enough data to get a combined rating.
    • getLocationAsString

      Description for this location.

      It is possible for Facebook to return either this value or getLocation(). If getLocation() returns null, then check this method to see if it has data, e.g. "Philadelphia, PA".

      Returns:
      Description for this location.
      Since:
      1.6.12
    • setLocationAsString

      public void setLocationAsString(String locationAsString)
      Description for this location.

      It is possible for Facebook to return either this value or getLocation(). If getLocation() returns null, then check this method to see if it has data, e.g. "Philadelphia, PA".

      Since:
      1.6.12