Packagecom.facebook.graph.data.api.core
Classpublic class FacebookLocation
InheritanceFacebookLocation Inheritance AbstractFacebookGraphObject

A location.



Public Properties
 PropertyDefined by
  city : String
The location's city.
FacebookLocation
  country : String
The location's country.
FacebookLocation
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  latitude : Number
The location's latitude.
FacebookLocation
  longitude : Number
The location's longitude.
FacebookLocation
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
  state : String
The location's state.
FacebookLocation
  street : String
The location's street.
FacebookLocation
  zip : String
The location's zip.
FacebookLocation
Public Methods
 MethodDefined by
  
Creates a new FacebookLocation.
FacebookLocation
  
fromJSON(result:Object):FacebookLocation
[static] Populates and returns a new FacebookLocation from a decoded JSON object.
FacebookLocation
  
toString():String
Provides the string value of the graph object.
FacebookLocation
Property detail
cityproperty
public var city:String

The location's city.

countryproperty 
public var country:String

The location's country.

latitudeproperty 
public var latitude:Number

The location's latitude.

longitudeproperty 
public var longitude:Number

The location's longitude.

stateproperty 
public var state:String

The location's state.

streetproperty 
public var street:String

The location's street.

zipproperty 
public var zip:String

The location's zip.

Constructor detail
FacebookLocation()constructor
public function FacebookLocation()

Creates a new FacebookLocation.

Method detail
fromJSON()method
public static function fromJSON(result:Object):FacebookLocation

Populates and returns a new FacebookLocation from a decoded JSON object.

Parameters
result:Object — A decoded JSON object.

Returns
FacebookLocation — A new FacebookLocation.
toString()method 
public override function toString():String

Provides the string value of the graph object.

Returns
String — The string value of the graph object.