SHOW Signed
 

net.rim.device.api.system
Interface CodeModuleListener


public interface CodeModuleListener

The listener used to receive notifications regarding the addition, modification, or deletion of code modules on the device.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

Since:
JDE 5.0.0

Method Summary
 Category: Signed  void moduleAdded(int handle)
          The callback made when a new code module has been added to the system.
 Category: Signed  void moduleDeleted(String moduleName)
          The callback made when a code module has been deleted from the system.
 Category: Signed  void moduleDeletionPending(String moduleName)
          The callback made when a code module has been marked for deletion.
 Category: Signed  void modulesChanged()
          The callback made when one or more code modules have changed on the system.
 

Method Detail

moduleAdded

public void moduleAdded(int handle)
The callback made when a new code module has been added to the system.
Parameters:
handle - The handle of the new code module.
Since:
JDE 5.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

moduleDeleted

public void moduleDeleted(String moduleName)
The callback made when a code module has been deleted from the system.
Parameters:
moduleName - The name of the module, or null if the module name could not be determined.
Since:
JDE 5.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

moduleDeletionPending

public void moduleDeletionPending(String moduleName)
The callback made when a code module has been marked for deletion. The module will be deleted when the device is reset.
Parameters:
moduleName - The name of the module, or null if the module name could not be determined.
Since:
JDE 5.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.

modulesChanged

public void modulesChanged()
The callback made when one or more code modules have changed on the system.
Since:
JDE 5.0.0
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.



Copyright 1999-2009 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.