net.rim.blackberry.api.pdap
Interface ListChangeListener

All Known Subinterfaces:
ListChangeListener2

public interface ListChangeListener

A listener that can be notified when properties of PIM lists change.

Classes that implement this listener can be added to the list of list change listeners to receive notifications by invoking BlackBerryPIM.addListChangeListener(net.rim.blackberry.api.pdap.ListChangeListener) and can be removed by invoking BlackBerryPIM.removeListChangeListener(net.rim.blackberry.api.pdap.ListChangeListener).

For a description of the purpose of ListChangeListener see Default PIMList Changes

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 4.6.0

Method Summary
Category: Signed  void defaultListChanged(int listType)
          Invoked to indicate that the default PIM list of a particular type has changed.
 



Method Detail

defaultListChanged

void defaultListChanged(int listType)
Invoked to indicate that the default PIM list of a particular type has changed. In order to determine the name of the new default list one must invoke PIM.listPIMLists(int) specifying the listType that was specified to this method; the first element of the returned array will be the name of the default list.

Parameters:
listType - the list type whose default list has changed; will be one of the valid list types, such as PIM.EVENT_LIST, PIM.CONTACT_LIST, PIM.TODO_LIST, or BlackBerryPIM.MEMO_LIST.
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 4.6.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.