Skip to content

cordova plugin for downloading feature in jamendo music app.

Notifications You must be signed in to change notification settings

pchab/cordova-plugin-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-downloader

cordova plugin for downloading feature in jamendo music app.

var Downloader = window.plugins.Downloader;
var downloadSuccessCallback = function (folder) {
  //folder: string where the file has been downloaded
};
var downloadErrorCallback = function (error) {
  //error: string
};
Downloader.download({
    url: url, //url of ressource to download: string
    path: fileName //path where to store ressource: string
  },
  downloadSuccessCallback,
  downloadErrorCallback
);

The ressource will be downloaded within the application's external files directory. WARNING: will overwrite existing file if it already exists.

About

cordova plugin for downloading feature in jamendo music app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published