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 Boolean InvokeIsExternalStorageRemovable (File path)
public static Boolean InvokeIsExternalStorageRemovable (File path)
Parameters
- path
Exceptions
Type Reason IllegalArgumentException if the path is not a valid storage device.
Remarks
Returns whether the storage device that provides the given path is removable.
Requirements
Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1