Package 

Interface MachineButtonsManager.OnEventListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onButtonEvent(int buttonId, int eventType, int buttonFunction) Called when there is an ew buttom event.
      • Methods inherited from class java.lang.Object

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

      • onButtonEvent

         abstract void onButtonEvent(int buttonId, int eventType, int buttonFunction)

        Called when there is an ew buttom event.

        See MachineButtonsContract for the different values associated with the parameters.

        Parameters:
        buttonId - which button
        eventType - what kind of event (short press, long press etc.
        buttonFunction - the function associated with the button.