Package com.restfb.types
Klasse Subscription
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Subscription
- Alle implementierten Schnittstellen:
Serializable
Represents the App Subscription
type.
- Seit:
- 1.5
- Autor:
- Norbert Bartels
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungIndicates whether or not the subscription is active.The URL that will receive the POST request when an update is triggered.One or more of the set of valid fields in this object to subscribe to.Indicates the object type that this subscription applies to.void
Indicates whether or not the subscription is active.void
setCallbackUrl
(String callbackUrl) The URL that will receive the POST request when an update is triggered.void
setFields
(List<Subscription.SubscriptionField> fields) One or more of the set of valid fields in this object to subscribe to.void
Indicates the object type that this subscription applies to.Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Subscription
public Subscription()
-
-
Methodendetails
-
getObject
Indicates the object type that this subscription applies to. type: user, page, permissions, payments- Gibt zurück:
- the object type that this subscription applies to
-
setObject
Indicates the object type that this subscription applies to. type: user, page, permissions, payments -
getCallbackUrl
The URL that will receive the POST request when an update is triggered.- Gibt zurück:
- the URL that will receive the POST request
-
setCallbackUrl
The URL that will receive the POST request when an update is triggered. -
getFields
One or more of the set of valid fields in this object to subscribe to. The set of valid fields is defined here: https://developers.facebook.com/docs/graph-api/real-time-updates/v2.3#subscribefields- Gibt zurück:
- set of fields
-
setFields
One or more of the set of valid fields in this object to subscribe to. The set of valid fields is defined here: https://developers.facebook.com/docs/graph-api/real-time-updates/v2.3#subscribefields -
getActive
Indicates whether or not the subscription is active.- Gibt zurück:
- if the subscription is active
-
setActive
Indicates whether or not the subscription is active.
-