Interface OnOffRequestable


public interface OnOffRequestable
A OnOffRequestable can be asked if it is on or off.
Author:
Silvan Wyss
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
  • Method Details

    • isOff

      boolean isOff()
      Returns:
      true if the current OnOffRequestable is off, false otherwise.
    • isOn

      boolean isOn()
      Returns:
      true if the current OnOffRequestable is on, false otherwise.