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:
BlackBerry API 5.0.0

Method Summary
Category: Signed  void moduleDeletionsPending(String[] moduleNames)
          The callback made when code modules have been marked for deletion.
Category: Signed  void modulesAdded(int[] handles)
          The callback made when new code modules have been added to the system.
Category: Signed  void modulesDeleted(String[] moduleNames)
          The callback made when code modules have been deleted from the system.
 



Method Detail

modulesAdded

void modulesAdded(int[] handles)
The callback made when new code modules have been added to the system.

Parameters:
handles - The handles of the new code modules.
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:
BlackBerry API 5.0.0

modulesDeleted

void modulesDeleted(String[] moduleNames)
The callback made when code modules have been deleted from the system.

Parameters:
moduleNames - The names of the modules; an element could be null if the module name could not be determined.
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:
BlackBerry API 5.0.0

moduleDeletionsPending

void moduleDeletionsPending(String[] moduleNames)
The callback made when code modules have been marked for deletion. The modules will be deleted when the device is reset.

Parameters:
moduleNames - The names of the modules; an element could be null if the module name could not be determined.
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:
BlackBerry API 5.0.0





Copyright 1999-2010 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. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.