StorageVolume

Class of android.os.storage · StorageVolume.java · Android's reference

public final class StorageVolume implements Parcelable

The one storage volume: the emulated shared storage of the device, in the app's data folder.

Fields

public static final Parcelable.Creator<StorageVolume> CREATOR source

Methods

public File getDirectory() source
public String getDescription(Context context) source
public boolean isPrimary() source
public boolean isRemovable() source
public boolean isEmulated() source
public String getUuid() source
public String getMediaStoreVolumeName() source
public String getState() source
public Intent createOpenDocumentTreeIntent() source
public boolean equals(Object o) source
public int hashCode() source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) empty body source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.