Interface HardwareOutputElement

All Superinterfaces:
HardwareElement
All Known Subinterfaces:
HardwareLight, HardwarePixelDisplay, HardwareTextDisplay, MultiStateHardwareLight, OnOffHardwareLight

public interface HardwareOutputElement extends HardwareElement
Represents a physical hardware element that displays some output to the user. For example, a light, some text etc
Since:
API version 10
  • Method Details

    • onUpdateHardware

      void onUpdateHardware(Runnable sendStateRunnable)
      Sets an optional callback for this element whenever it's state needs to be sent to the hardware. This will be called when calling HardwareSurface.updateHardware() if the state needs to be sent.