|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDownloadManager
A download manager manages all downloads.
Clients must not implement.
EvolutionPlayerCore.getDownloadManager()
Nested Class Summary | |
---|---|
static class |
IDownloadManager.TransferStatus
The states a file transfer can have. |
Method Summary | |
---|---|
void |
addDownload(Download download)
Add the given download to the downloads. |
int |
getDownloadCount()
The amount of downloads currently managed. |
Download[] |
getDownloads()
All currently known downloads. |
java.lang.String |
getErrorMessage(Download download)
A human readable reason why the given download failed, or null if the given download did not fail. |
TransferProgressMonitor |
getProgressMonitor(Download download)
Returns the transfer progress monitor for the given download or null if the download is not known or DONE. |
IDownloadManager.TransferStatus |
getStatus(Download download)
Current status of the file transfer. |
Method Detail |
---|
void addDownload(Download download)
download
- the download to manageint getDownloadCount()
Download[] getDownloads()
TransferProgressMonitor getProgressMonitor(Download download)
download
- the download for which to retrieve the monitor for
IDownloadManager.TransferStatus getStatus(Download download)
download
- the download for which to receive the status for
java.lang.String getErrorMessage(Download download)
download
- the download for wich to retrieve the error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |