public interface JUMPDownloadProgressListener (Code)
JUMPDownloadProgressListener allows a component to observe
the download progress. The interface is typically implemented by UI
elements (like a progress bar/gauge) to show the state of the download
progress.
Method Summary
public void
dataDownloaded(int percent) Called as the data gets downloaded.
Called as the data gets downloaded. The frequency of the call depends
on the updatePercent argument passed during the registration
of the listener.
Parameters: percent - the percentage of the data that has been downloaded from the start of the download process. It starts from 0 andand goes upto 100 typically.
Called after the download has been cancelled. The cancellation could
be driven by the user or by the system. If this method is called then
downloadCompleted() will not be invoked.