java.lang.Object | |
↳ | fm.audiobox.core.net.Download |
Downloads the media to specified file
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Download(InputStream inputStream, OutputStream outputStream, NetworkProgressListener listener, long length)
Instantiates a new Upload.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
setDownloadProgressListener(NetworkProgressListener listener)
Sets download progress listener.
| ||||||||||
OutputStream |
start()
Start download
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Instantiates a new Upload.
inputStream | the input stream |
---|---|
outputStream | the output stream to send data to |
listener | the listener |
Sets download progress listener.
listener | the listener |
---|
Start download