Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
downloads
DownloadCreatedEvent
Interface DownloadCreatedEvent
Hierarchy
Event
DownloadCreatedEvent
Index
Methods
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
Methods
public
addListener
(
callback
:
(downloadItem: chrome.downloads.DownloadItem) => void
)
Parameters
callback:
(downloadItem: chrome.downloads.DownloadItem) => void
public
addRules
(
rules
:
Rule
[]
, callback
?:
(rules: chrome.events.Rule[]) => void
)
Parameters
rules:
Rule
[]
callback?:
(rules: chrome.events.Rule[]) => void
optional
public
getRules
(
callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
callback:
(rules: chrome.events.Rule[]) => void
public
getRules
(
ruleIdentifiers
:
Array<string>
, callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
ruleIdentifiers:
Array<string>
callback:
(rules: chrome.events.Rule[]) => void
public
hasListener
(
callback
:
Function
)
Parameters
callback:
Function
public
hasListeners
(
)
:
boolean
Returns
boolean
public
removeListener
(
callback
:
Function
)
Parameters
callback:
Function
public
removeRules
(
ruleIdentifiers
?:
Array<string>
, callback
?:
Function
)
Parameters
ruleIdentifiers?:
Array<string>
optional
callback?:
Function
optional
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
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
DownloadDelta
DownloadErasedEvent
DownloadItem
DownloadLongDiff
DownloadOptions
DownloadQuery
DownloadStringDiff
GetFileIconOptions
HeaderNameValuePair
acceptDanger
cancel
download
drag
erase
getFileIcon
open
pause
removeFile
resume
search
setShelfEnabled
show
showDefaultFolder