public class

Downloader

extends Object
java.lang.Object
   ↳ com.vidinoti.android.vdarsdk.Downloader

Class Overview

Utility class for downloading files. Current implementation is a wrapper of VDARDownload. Create an instance and then call load() for starting the download.

Summary

Nested Classes
interface Downloader.DownloadListener  
Public Methods
void cancel()
static Downloader fromUrl(URL url)
void load()
Starts the download
Downloader setListener(Downloader.DownloadListener listener)
Downloader setOutputFile(File outputFile)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void cancel ()

public static Downloader fromUrl (URL url)

public void load ()

Starts the download

public Downloader setListener (Downloader.DownloadListener listener)

public Downloader setOutputFile (File outputFile)