downloads.resume()

Resume a paused download. If the request was successful the download is in progress and unpaused. Otherwise runtime.lastError contains an error message. The request will fail if the download is not active.

Syntax

browser.downloads.resume(
  downloadId,      // integer
  function() {...} // optional function
)

Parameters

downloadId
integer. The id of the download to resume.
callbackOptional
function.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?48.0Yes33
Firefox
Basic support48.0

Examples

Acknowledgements

This API is based on Chromium's chrome.downloads API.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,