public interface Download extends Observable<DownloadEvent>
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels this download.
|
boolean |
isPaused()
Indicates whether this download is paused.
|
void |
pause()
Pauses this download.
|
void |
resume()
Resumes this download.
|
DownloadState |
state()
Returns the download state.
|
DownloadTarget |
target()
Returns the download target.
|
on
DownloadTarget target()
DownloadState state()
boolean isPaused()
true
if this download is pausedvoid pause()
void resume()
void cancel()