Class Change

java.lang.Object
com.restfb.types.webhook.Change

public class Change
extends Object
The transferred change containing the field and the value
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getField

      public String getField()
      the subscribed field.
    • setField

      public void setField​(String field)
      the subscribed field.
    • getValue

      value of this change. You have to check the current class implementation because the value depends on the change Facebook sends to you.
      Returns:
      the current changed value, may be null
    • setValue

      public void setValue​(ChangeValue value)
      value of this change. You have to check the current class implementation because the value depends on the change Facebook sends to you.