PowerModeChangeListener

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ocap.hardware
Interface PowerModeChangeListener

All Superinterfaces:
  EventListener

    public interface PowerModeChangeListener

extends 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).

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD