net.rim.device.api.synchronization
Interface OTASyncListener


public interface OTASyncListener

Interface for classes that want to be notified of OTA sync operations.

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 TYPE_SLOW_SYNC
          Code to indicate that a slow sync is involved.
Category: Signed static int TYPE_TRANSACTION
          Code to indicate that a transaction is involved.
 
Method Summary
Category: Signed  void otaSyncOperationStarted(SyncCollection syncCollection, int type)
          An OTA sync operation has started.
Category: Signed  void otaSyncOperationStopped(SyncCollection syncCollection, int type)
          An OTA sync operation has stopped.
 



Field Detail

TYPE_SLOW_SYNC

static final int TYPE_SLOW_SYNC
Code to indicate that a slow sync is involved.

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

TYPE_TRANSACTION

static final int TYPE_TRANSACTION
Code to indicate that a transaction is involved.

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

otaSyncOperationStarted

void otaSyncOperationStarted(SyncCollection syncCollection,
                             int type)
An OTA sync operation has started.

Parameters:
syncCollection - The SyncCollection that the sync operation is occurring on.
type - An integer indicating the type of sync operation that has started.
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

otaSyncOperationStopped

void otaSyncOperationStopped(SyncCollection syncCollection,
                             int type)
An OTA sync operation has stopped.

Parameters:
syncCollection - The SyncCollection that the sync operation is occurring on.
type - An integer indicating the type of sync operation that has stopped.
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-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal