Android Guides | Samples

Android.OS.Environment.GetExternalStorageState Method

Returns the current state of the storage device that provides the given path.

Syntax

[Android.Runtime.Register("getExternalStorageState", "(Ljava/io/File;)Ljava/lang/String;", "")]
public static String GetExternalStorageState (File path)

Parameters

path

Remarks

Returns the current state of the storage device that provides the given path.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1