Share via


StorageManager.StorageVolumes Property

Definition

Return the list of shared/external storage volumes currently available to the calling user.

public virtual System.Collections.Generic.IList<Android.OS.Storage.StorageVolume> StorageVolumes { [Android.Runtime.Register("getStorageVolumes", "()Ljava/util/List;", "GetGetStorageVolumesHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getStorageVolumes", "()Ljava/util/List;", "GetGetStorageVolumesHandler", ApiSince=24)>]
member this.StorageVolumes : System.Collections.Generic.IList<Android.OS.Storage.StorageVolume>

Property Value

Attributes

Remarks

Return the list of shared/external storage volumes currently available to the calling user.

These storage volumes are actively attached to the device, but may be in any mount state, as returned by StorageVolume#getState(). Returns both the primary shared storage device and any attached external volumes, including SD cards and USB drives.

Java documentation for android.os.storage.StorageManager.getStorageVolumes().

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