Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
downloads
Module downloads
Index
Variables
onChanged
onCreated
onErased
Interfaces
DownloadBooleanDiff
DownloadChangedEvent
DownloadCreatedEvent
DownloadDelta
DownloadErasedEvent
DownloadItem
DownloadLongDiff
DownloadOptions
DownloadQuery
DownloadStringDiff
GetFileIconOptions
HeaderNameValuePair
Functions
acceptDanger
cancel
download
drag
erase
getFileIcon
open
pause
removeFile
resume
search
setShelfEnabled
show
showDefaultFolder
Variables
onChanged
:
DownloadChangedEvent
onCreated
:
DownloadCreatedEvent
onErased
:
DownloadErasedEvent
Functions
acceptDanger
(
downloadId
:
number
, callback
:
() => void
)
Parameters
downloadId:
number
callback:
() => void
cancel
(
downloadId
:
number
, callback
?:
Function
)
Parameters
downloadId:
number
callback?:
Function
optional
download
(
options
:
DownloadOptions
, callback
?:
(downloadId: number) => void
)
Parameters
options:
DownloadOptions
callback?:
(downloadId: number) => void
optional
drag
(
downloadId
:
number
)
Parameters
downloadId:
number
erase
(
query
:
DownloadQuery
, callback
:
(results: chrome.downloads.DownloadItem[]) => void
)
Parameters
query:
DownloadQuery
callback:
(results: chrome.downloads.DownloadItem[]) => void
getFileIcon
(
downloadId
:
number
, callback
:
(iconURL: string) => void
)
Parameters
downloadId:
number
callback:
(iconURL: string) => void
getFileIcon
(
downloadId
:
number
, options
:
GetFileIconOptions
, callback
:
(iconURL: string) => void
)
Parameters
downloadId:
number
options:
GetFileIconOptions
callback:
(iconURL: string) => void
open
(
downloadId
:
number
)
Parameters
downloadId:
number
pause
(
downloadId
:
number
, callback
?:
Function
)
Parameters
downloadId:
number
callback?:
Function
optional
removeFile
(
downloadId
:
number
, callback
:
() => void
)
Parameters
downloadId:
number
callback:
() => void
resume
(
downloadId
:
number
, callback
?:
Function
)
Parameters
downloadId:
number
callback?:
Function
optional
search
(
query
:
DownloadQuery
, callback
:
(results: chrome.downloads.DownloadItem[]) => void
)
Parameters
query:
DownloadQuery
callback:
(results: chrome.downloads.DownloadItem[]) => void
setShelfEnabled
(
enabled
:
boolean
)
Parameters
enabled:
boolean
show
(
downloadId
:
number
)
Parameters
downloadId:
number
showDefaultFolder
(
)
Globals
chrome
chrome
chrome.alarms
chrome.bookmarks
chrome.browserAction
chrome.browsingData
chrome.commands
chrome.contentSettings
chrome.contextMenus
chrome.cookies
chrome.declarativeWebRequest
chrome.devtools
chrome.devtools.inspectedWindow
chrome.devtools.network
chrome.devtools.panels
chrome.downloads
chrome.events
chrome.extension
chrome.fileBrowserHandler
chrome.fontSettings
chrome.history
chrome.i18n
chrome.identity
chrome.idle
chrome.input
chrome.input.ime
chrome.management
chrome.notifications
chrome.omnibox
chrome.pageAction
chrome.pageCapture
chrome.permissions
chrome.privacy
chrome.proxy
chrome.runtime
chrome.scriptBadge
chrome.socket
chrome.storage
chrome.tabs
chrome.topSites
chrome.tts
chrome.ttsEngine
chrome.types
chrome.webNavigation
chrome.webRequest
chrome.webstore
chrome.windows
onChanged
onCreated
onErased
DownloadBooleanDiff
DownloadChangedEvent
DownloadCreatedEvent
DownloadDelta
DownloadErasedEvent
DownloadItem
DownloadLongDiff
DownloadOptions
DownloadQuery
DownloadStringDiff
GetFileIconOptions
HeaderNameValuePair
acceptDanger
cancel
download
drag
erase
getFileIcon
open
pause
removeFile
resume
search
setShelfEnabled
show
showDefaultFolder