OptionalbytesNumber of bytes received so far from the host, without considering file compression.
OptionalcookieThe cookie store ID of the contextual identity.
OptionaldangerIndication of whether this download is thought to be safe or known to be suspicious.
OptionalendedLimits results to downloads that ended after the given ms since the epoch.
OptionalendedLimits results to downloads that ended before the given ms since the epoch.
OptionalendOptionalerrorWhy a download was interrupted.
OptionalexistsOptionalfilenameAbsolute local path.
OptionalfilenameLimits results to DownloadItems whose filename matches the given regular expression.
OptionalfileNumber of bytes in the whole file post-decompression, or -1 if unknown.
OptionalidOptionallimitSetting this integer limits the number of results. Otherwise, all matching DownloadItems will be returned.
OptionalmimeThe file's MIME type.
OptionalorderSetting elements of this array to DownloadItem properties in order to sort the search results. For example, setting orderBy='startTime' sorts the DownloadItems by their start time in ascending order. To specify descending order, prefix orderBy with a hyphen: '-startTime'.
OptionalpausedTrue if the download has stopped reading data from the host, but kept the connection open.
OptionalqueryThis array of search terms limits results to DownloadItems whose filename or url contain all of the search terms that do not begin with a dash '-' and none of the search terms that do begin with a dash.
OptionalstartedLimits results to downloads that started after the given ms since the epoch.
OptionalstartedLimits results to downloads that started before the given ms since the epoch.
OptionalstartOptionalstateIndicates whether the download is progressing, interrupted, or complete.
OptionaltotalNumber of bytes in the whole file, without considering file compression, or -1 if unknown.
OptionaltotalLimits results to downloads whose totalBytes is greater than the given integer.
OptionaltotalLimits results to downloads whose totalBytes is less than the given integer.
OptionalurlAbsolute URL.
OptionalurlLimits results to DownloadItems whose url matches the given regular expression.
Parameters that combine to specify a predicate that can be used to select a set of downloads. Used for example in search() and erase()