net.rim.device.api.system
Interface SystemListener


public interface SystemListener

The listener interface for receiving system events.


Method Summary
 void batteryGood()
          Invoked when the internal battery voltage has returned to normal.
 void batteryLow()
          Invoked when the internal battery voltage falls below a critical level.
 void batteryStatusChange(int status)
          Invoked when the internal battery state has changed.
 void powerOff()
          Invoked when the user is putting the device into a power off state.
 void powerUp()
          Invoked when the device has left the power off state.
 

Method Detail

powerOff

public void powerOff()
Invoked when the user is putting the device into a power off state.


powerUp

public void powerUp()
Invoked when the device has left the power off state.


batteryLow

public void batteryLow()
Invoked when the internal battery voltage falls below a critical level.


batteryGood

public void batteryGood()
Invoked when the internal battery voltage has returned to normal.


batteryStatusChange

public void batteryStatusChange(int status)
Invoked when the internal battery state has changed.

Parameters:
status - A combination of the BSTAT_xxx masks from DeviceInfo.
Since:
JDE 4.0.2


Copyright 1999-2004 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.