DownloadError Enum

Definition

Enumerates values returned by several types.

public enum DownloadError
type DownloadError = 
Inheritance
DownloadError

Fields

CannotResume 1008

Value of ColumnReasonwhen some possibly transient error occurred but we can't resume the download.

DeviceNotFound 1007

Value of ColumnReasonwhen no external storage device was found.

FileAlreadyExists 1009

Value of ColumnReasonwhen the requested destination file already exists (the download manager will not overwrite an existing file).

FileError 1001

Value of ColumnReasonwhen a storage issue arises which doesn't fit under any other error code.

HttpDataError 1004

Value of ColumnReasonwhen an error receiving or processing data occurred at the HTTP level.

InsufficientSpace 1006

Value of ColumnReasonwhen there was insufficient storage space.

TooManyRedirects 1005

Value of ColumnReasonwhen there were too many redirects.

UnhandledHttpCode 1002

Value of ColumnReasonwhen an HTTP code was received that download manager can't handle.

Unknown 1000

Value of COLUMN_ERROR_CODE when the download has completed with an error that doesn't fit under any other error code.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to