Android.OS.Environment.InvokeIsExternalStorageRemovable Method
Returns whether the storage device that provides the given path is removable.

Syntax

[Android.Runtime.Register("isExternalStorageRemovable", "(Ljava/io/File;)Z", "")]
public static bool InvokeIsExternalStorageRemovable (Java.IO.File path)

Parameters

path
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the path is not a valid storage device.

Remarks

Returns whether the storage device that provides the given path is removable.

[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