This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
[Android.Runtime.Register("getExternalStoragePublicDirectory", "(Ljava/lang/String;)Ljava/io/File;", "")]
public static Java.IO.File? GetExternalStoragePublicDirectory (string? type);
[<Android.Runtime.Register("getExternalStoragePublicDirectory", "(Ljava/lang/String;)Ljava/io/File;", "")>]
static member GetExternalStoragePublicDirectory : string -> Java.IO.File

Parameters

The type of storage directory to return. Should be one of #DIRECTORY_MUSIC , #DIRECTORY_PODCASTS , #DIRECTORY_RINGTONES , #DIRECTORY_ALARMS , #DIRECTORY_NOTIFICATIONS , #DIRECTORY_PICTURES , #DIRECTORY_MOVIES , #DIRECTORY_DOWNLOADS , #DIRECTORY_DCIM , or #DIRECTORY_DOCUMENTS . May not be null.

Returns

Returns the File path for the directory. Note that this directory may not yet exist, so you must make sure it exists before using it such as with File#mkdirs File.mkdirs() .

Attributes
RegisterAttribute