Partager via


Environment.IsExternalStorageRemovable Property

Definition

Returns whether the primary shared/external storage media is physically removable.

public static bool IsExternalStorageRemovable { [Android.Runtime.Register("isExternalStorageRemovable", "()Z", "")] get; }
[<get: Android.Runtime.Register("isExternalStorageRemovable", "()Z", "")>]
static member IsExternalStorageRemovable : bool

Property Value

true if the storage device can be removed (such as an SD card), or false if the storage device is built in and cannot be physically removed.

Attributes

Remarks

Returns whether the primary shared/external storage media is physically removable.

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

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