Partager via


StorageManager.RecentStorageVolumes Property

Definition

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

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

Property Value

Attributes

Remarks

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

Recently available storage volumes are likely to reappear in the future, so apps are encouraged to preserve any indexed metadata related to these volumes to optimize user experiences.

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

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