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.

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.0.0

Field Summary
Category: Signed static int DEFAULT_PRIORITY
           
Category: Signed static int MAX_PRIORITY
           
Category: Signed static int MIN_PRIORITY
           
 
Method Summary
Category: Signed  int getSyncPriority()
          Returns the sync priority assigned to a database.
 



Field Detail

MAX_PRIORITY

static final int MAX_PRIORITY
See Also:
Constant Field Values
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.0.0

MIN_PRIORITY

static final int MIN_PRIORITY
See Also:
Constant Field Values
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.0.0

DEFAULT_PRIORITY

static final int DEFAULT_PRIORITY
See Also:
Constant Field Values
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.0.0


Method Detail

getSyncPriority

int getSyncPriority()
Returns the sync priority assigned to a database.

Returns:
int the priority value ranges from MIN_PRIORITY = 10 to MAX_PRIORITY = 1;
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.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.