org.ocap.hardware
Interface PowerModeChangeListener
- All Superinterfaces:
- java.util.EventListener
public interface PowerModeChangeListener
- extends java.util.EventListener
The callback interface to be implemented by classes that wish to receive
notification when the power mode of the Host Devices changes (for example
when the user presses the Power button).
Method Summary |
void |
powerModeChanged(int newPowerMode)
Called when the power mode changes (for example from full to low power). |
powerModeChanged
void powerModeChanged(int newPowerMode)
- Called when the power mode changes (for example from full to low power).
- See Also:
Host.FULL_POWER
,
Host.LOW_POWER