|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmotej.StatusInformationReport
public class StatusInformationReport
Status information as reported by the wiimote. Contains the currently lid LEDs, status of speaker, the battery level, if an extension is connected and if continuous reporting is enabled.
Constructor Summary | |
---|---|
StatusInformationReport(boolean[] ledEnabled,
boolean speakerEnabled,
boolean continuousReportingEnabled,
boolean extensionControllerConnected,
byte batteryLevel)
|
Method Summary | |
---|---|
byte |
getBatteryLevel()
The current battery level. |
boolean[] |
getLedEnabled()
The currently lid LEDs |
boolean |
isContinuousReportingEnabled()
True, if continuous reporting is enabled. |
boolean |
isExtensionControllerConnected()
True, if an extension controller is connected. |
boolean |
isSpeakerEnabled()
True, if the speaker is enabled. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StatusInformationReport(boolean[] ledEnabled, boolean speakerEnabled, boolean continuousReportingEnabled, boolean extensionControllerConnected, byte batteryLevel)
Method Detail |
---|
public byte getBatteryLevel()
public boolean[] getLedEnabled()
public boolean isContinuousReportingEnabled()
public boolean isExtensionControllerConnected()
public boolean isSpeakerEnabled()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |