Interface OnOffRequestable
public interface OnOffRequestable
A
OnOffRequestable can be asked if it is on or off.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
isOff
boolean isOff()- Returns:
- true if the current
OnOffRequestableis off, false otherwise.
-
isOn
boolean isOn()- Returns:
- true if the current
OnOffRequestableis on, false otherwise.
-