| Package | com.facebook.graph.data.api.subscription |
| Class | public class FacebookSubscription |
| Inheritance | FacebookSubscription AbstractFacebookGraphObject |
See also
| Property | Defined by | ||
|---|---|---|---|
| active : Boolean
Whether or not the subscription is active or not.
| FacebookSubscription | ||
| callback_url : String
An endpoint on your domain which can handle the real-time notifications.
| FacebookSubscription | ||
| fields : Array
The list of fields for the object type.
| FacebookSubscription | ||
![]() | id : String
The unique ID for the graph object.
| AbstractFacebookGraphObject | |
| object : String
The object type to subscribe to.
| FacebookSubscription | ||
![]() | rawResult : Object
The raw decoded JSON result data for the graph object.
| AbstractFacebookGraphObject | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new FacebookSubscription.
| FacebookSubscription | ||
|
fromJSON(result:Object):FacebookSubscription
[static]
Populates and returns a new FacebookSubscription from a decoded JSON object.
| FacebookSubscription | ||
|
toString():String
Provides the string value of the graph object.
| FacebookSubscription | ||
| active | property |
public var active:BooleanWhether or not the subscription is active or not.
| callback_url | property |
public var callback_url:StringAn endpoint on your domain which can handle the real-time notifications.
| fields | property |
public var fields:ArrayThe list of fields for the object type.
| object | property |
public var object:StringThe object type to subscribe to.
| FacebookSubscription | () | constructor |
public function FacebookSubscription()Creates a new FacebookSubscription.
| fromJSON | () | method |
public static function fromJSON(result:Object):FacebookSubscriptionPopulates and returns a new FacebookSubscription from a decoded JSON object.
Parametersresult:Object — A decoded JSON object.
|
FacebookSubscription —
A new FacebookSubscription.
|
| toString | () | method |
public override function toString():StringProvides the string value of the graph object.
ReturnsString — The string value of the graph object.
|