public class

Download

extends Object
java.lang.Object
   ↳ fm.audiobox.core.net.Download

Class Overview

Downloads the media to specified file

Summary

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

Public Constructors

public Download (InputStream inputStream, OutputStream outputStream, NetworkProgressListener listener, long length)

Instantiates a new Upload.

Parameters
inputStream the input stream
outputStream the output stream to send data to
listener the listener

Public Methods

public void setDownloadProgressListener (NetworkProgressListener listener)

Sets download progress listener.

Parameters
listener the listener

public OutputStream start ()

Start download