Class ButtonEvent


  • public class ButtonEvent
    extends java.lang.Object
    A button has been pressed on your device during a running workflow. This event occurs on a single, double or triple tap of the action button or a tap of the assistant button. Note this is separate from a button trigger.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String button
      Which button was pressed.
      java.lang.String sourceUri
      The URN of the device whose button was pressed.
      java.lang.String taps
      The number of times the button was pressed.
    • Constructor Summary

      Constructors 
      Constructor Description
      ButtonEvent()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sourceUri

        @SerializedName("source_uri")
        public java.lang.String sourceUri
        The URN of the device whose button was pressed.
      • button

        @SerializedName("button")
        public java.lang.String button
        Which button was pressed.
      • taps

        @SerializedName("taps")
        public java.lang.String taps
        The number of times the button was pressed.
    • Constructor Detail

      • ButtonEvent

        public ButtonEvent()