net.rim.device.api.synchronization
Interface OTASyncPriorityProvider
- public interface OTASyncPriorityProvider
Interface for providing sync priority of sync collections
over the air.
Use this interface if you want to give a hint to the sync server regarding the order in which
information is sent to the device. For example, if options information should be sent
to the device before application information, the priority of the options
information can be made higher than that of the associated application information
so that the options information is sent first by the sync server.
- Since:
- JDE 4.0.0
|
Method Summary |
int |
getSyncPriority()
Returns the sync priority assigned to a database. |
MAX_PRIORITY
public static final int MAX_PRIORITY
- Since:
- JDE 4.0.0
MIN_PRIORITY
public static final int MIN_PRIORITY
- Since:
- JDE 4.0.0
DEFAULT_PRIORITY
public static final int DEFAULT_PRIORITY
- Since:
- JDE 4.0.0
getSyncPriority
public int getSyncPriority()
- Returns the sync priority assigned to a database.
- Returns:
- int the priority value ranges from MIN_PRIORITY = 10 to MAX_PRIORITY = 1;
- Since:
- JDE 4.0.0
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.