Compartilhar via


Environment.StorageDirectory Property

Definition

Return root directory where all external storage devices will be mounted.

public static Java.IO.File StorageDirectory { [Android.Runtime.Register("getStorageDirectory", "()Ljava/io/File;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getStorageDirectory", "()Ljava/io/File;", "", ApiSince=30)>]
static member StorageDirectory : Java.IO.File

Property Value

Attributes

Remarks

Return root directory where all external storage devices will be mounted. For example, #getExternalStorageDirectory() will appear under this location.

Java documentation for android.os.Environment.getStorageDirectory().

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