java.lang.Object
com.wonderpush.sdk.inappmessaging.model.Button

public class Button extends Object
Encapsulates any button used in an In App Message.
  • Constructor Details

    • Button

      public Button(Text text, String buttonHexColor)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • fromJSON

      public static Button fromJSON(org.json.JSONObject data)
    • getText

      public Text getText()
      Gets the Text associated with this button
    • getButtonHexColor

      public String getButtonHexColor()
      Gets the background hex color associated with this button
    • builder

      public static Button.Builder builder()