共用方式為


DownloadManager.ErrorFileAlreadyExists Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.

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

[Android.Runtime.Register("ERROR_FILE_ALREADY_EXISTS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)]
public const Android.App.DownloadError ErrorFileAlreadyExists = 1009;
[<Android.Runtime.Register("ERROR_FILE_ALREADY_EXISTS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.DownloadError enum directly instead of this field.", true)>]
val mutable ErrorFileAlreadyExists : Android.App.DownloadError

Field Value

Value = 1009
Attributes

Remarks

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

Java documentation for android.app.DownloadManager.ERROR_FILE_ALREADY_EXISTS.

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