Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Is invoked during a file transfer to inform the user of the transfer progress.
A FileTransferProgressData object containing the latest file transfer progress data.
This method should return true to cancel the transfer; otherwise, return false to continue.
The listener is called under the following conditions:
Before the first disk write
After every disk write or every 0.5 seconds, whichever is later
After the file download is complete
Usually, the cancel request is accepted by the UltraLiteJ API. This results in a ULjException object being thrown with the
errorCode set to the ULjException.SQLE_INTERRUPTED constant.
However, if the download completed for a BlackBerry object store, UltraLiteJ does not cancel the transfer.
UltraLiteJ API methods should not be invoked during a fileTransferProgressed call.