SHOW Signed

net.rim.blackberry.api.phone.phonelogs
Interface PhoneLogListener


public interface PhoneLogListener

Implement this interface if you wish to listen for phone log events, such as new phone logs being added to the system

Register your instance with PhoneLogs.addListener(net.rim.blackberry.api.phone.phonelogs.PhoneLogListener); remove it with PhoneLogs.removeListener(net.rim.blackberry.api.phone.phonelogs.PhoneLogListener).

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 4.0.0

Method Summary
 Category: Signed  void callLogAdded(CallLog cl)
          Invoked when a new call log added.
 Category: Signed  void callLogRemoved(CallLog cl)
          Invoked when a call log has been removed.
 Category: Signed  void callLogUpdated(CallLog cl, CallLog oldCl)
          Invoked when a call log has been updated.
 Category: Signed  void reset()
          Invoked to reset the log.
 

Method Detail

callLogAdded

public void callLogAdded(CallLog cl)
Invoked when a new call log added.
Parameters:
cl - Call log added.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

callLogRemoved

public void callLogRemoved(CallLog cl)
Invoked when a call log has been removed.
Parameters:
cl - Removed call log.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

callLogUpdated

public void callLogUpdated(CallLog cl,
                           CallLog oldCl)
Invoked when a call log has been updated.
Parameters:
cl - Updated version of the call log.
oldCl - Old version of the call log.
Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

reset

public void reset()
Invoked to reset the log.

This method gets invoked when a batch operation occurs. Implementations should release all held CallLog references and rebuild the current set using the PhoneLogs API.

Since:
JDE 4.0.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


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