SHOW Signed

net.rim.device.api.synchronization
Interface StateInfoListener


public interface StateInfoListener

An interface to be implemented by a SyncCollection if it is interested in generating or responding to changes in the State Info field used during serial synchronization. Currently, the State Info field is only used when performing synchronization of message folder information to efficiently transfer and modify folder information.

If a SyncCollection is not interested in this information it should simply choose not to implement this interface.

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 3.6.0
See Also:
SyncObject, SummaryParameterListener

Method Summary
 Category: Signed  int getStateInfo(SyncObject object)
          Gets the 32-bit State Info value associated with a SyncObject.
 Category: Signed  void setStateInfo(SyncObject object, int version, int stateInfo)
          Sets the 32-bit State Info value associated with a SyncObject.
 

Method Detail

getStateInfo

public int getStateInfo(SyncObject object)
Gets the 32-bit State Info value associated with a SyncObject.

Parameters:
object - The SyncObject of interest.
Returns:
The 32-bit State Info value associated with this SyncObject.
Since:
JDE 4.0.2
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.

setStateInfo

public void setStateInfo(SyncObject object,
                         int version,
                         int stateInfo)
Sets the 32-bit State Info value associated with a SyncObject.

Parameters:
object - The SyncObject of interest.
version - The version number of this state information.
stateInfo - The 32-bit State Info value.
Since:
JDE 4.0.2
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-2004 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.