AbstractDownloadRequest
Defines the contract of an entity that can be parceled and persisted into a local database with information related to download request.
Functions
Link copied to clipboard
Gets the description of this download, to be displayed in notifications (if enabled)
Link copied to clipboard
Gets the estimated total size of the download as number of bytes.
Link copied to clipboard
Gets the list of headers to the send in HTTP request.
Link copied to clipboard
Link copied to clipboard
Gets the local destination for the downloaded file.
Link copied to clipboard
Gets the MIME content type of this download.
Link copied to clipboard
Gets the date and time when the request was modified as number of milliseconds since January 1, 1970, 00:00:00 GMT.
Link copied to clipboard
Specifies whether a system notification is posted by the download manager while this download is running or when it is completed.
Link copied to clipboard
Gets the URL to the remote file.
Link copied to clipboard
Specifies whether this download may proceed over a bluetooth network connection.
Link copied to clipboard
Specifies whether this download may proceed over a metered network connection.
Link copied to clipboard
Specifies whether this download may proceed over a mobile network connection.
Link copied to clipboard
Specifies whether this download may proceed over a roaming connection.
Link copied to clipboard
Specifies whether this download may proceed over a WIFI network connection.
Link copied to clipboard
Specifies whether the file to be downloaded should be marked as scannable by MediaScanner.
Link copied to clipboard
Gets whether this download should be displayed in the system's Downloads UI.
Link copied to clipboard
Sets the create time before the inserting the entity into the database table.