Udostępnij za pośrednictwem


DownloadError Enum

Definition

Enumerates values returned by several types.

public enum DownloadError
type DownloadError = 
Inheritance
DownloadError

Fields

Name Value Description
Unknown 1000

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

FileError 1001

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

UnhandledHttpCode 1002

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

HttpDataError 1004

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

TooManyRedirects 1005

Value of ColumnReasonwhen there were too many redirects.

InsufficientSpace 1006

Value of ColumnReasonwhen there was insufficient storage space.

DeviceNotFound 1007

Value of ColumnReasonwhen no external storage device was found.

CannotResume 1008

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

FileAlreadyExists 1009

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

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