Udostępnij za pośrednictwem


Environment.DirectoryDownloads Property

Definition

Standard directory in which to place files that have been downloaded by the user.

[Android.Runtime.Register("DIRECTORY_DOWNLOADS")]
public static string? DirectoryDownloads { get; set; }
[<Android.Runtime.Register("DIRECTORY_DOWNLOADS")>]
static member DirectoryDownloads : string with get, set

Property Value

Attributes

Remarks

Standard directory in which to place files that have been downloaded by the user. Note that this is primarily a convention for the top-level public directory, you are free to download files anywhere in your own private directories. Also note that though the constant here is named DIRECTORY_DOWNLOADS (plural), the actual file name is non-plural for backwards compatibility reasons.

Java documentation for android.os.Environment.DIRECTORY_DOWNLOADS.

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