net.rim.device.api.system
Interface SystemListener

All Known Subinterfaces:
SystemListener2

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

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


powerUp

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


batteryLow

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


batteryGood

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


batteryStatusChange

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

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





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal