Package org.robolectric.shadows
Class StorageVolumeBuilder
java.lang.Object
org.robolectric.shadows.StorageVolumeBuilder
public final class StorageVolumeBuilder extends Object
Class to build
StorageVolume
-
Constructor Summary
Constructors Constructor Description StorageVolumeBuilder(String id, File path, String description, UserHandle owner, String state)
-
Method Summary
Modifier and Type Method Description StorageVolume
build()
StorageVolumeBuilder
setAllowMassStorage(boolean allowMassStorage)
StorageVolumeBuilder
setExternallyManaged(boolean externallyManaged)
StorageVolumeBuilder
setFsUuid(String fsUuid)
StorageVolumeBuilder
setInternalPath(File internalPath)
StorageVolumeBuilder
setIsEmulated(boolean isEmulated)
StorageVolumeBuilder
setIsPrimary(boolean isPrimary)
StorageVolumeBuilder
setIsRemovable(boolean isRemovable)
StorageVolumeBuilder
setMaxFileSize(long maxFileSize)
StorageVolumeBuilder
setMtpReserveSize(long mtpReserveSize)
StorageVolumeBuilder
setStorageId(int storageId)
-
Constructor Details
-
StorageVolumeBuilder
public StorageVolumeBuilder(String id, File path, String description, UserHandle owner, String state)
-
-
Method Details