Klasse Subscription

Alle implementierten Schnittstellen:
Serializable

public class Subscription extends AbstractFacebookType
Represents the App Subscription type.
Seit:
1.5
Autor:
Norbert Bartels
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getObject

      public String 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

      public void setObject(String object)
      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

      public void setCallbackUrl(String callbackUrl)
      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

      public Boolean getActive()
      Indicates whether or not the subscription is active.
      Gibt zurück:
      if the subscription is active
    • setActive

      public void setActive(Boolean active)
      Indicates whether or not the subscription is active.