public class MtpStorage extends Object
Constructor and Description |
---|
MtpStorage(StorageVolume volume,
Context context) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description string for the storage unit
|
long |
getMaxFileSize()
Returns maximum file size for the storage, or zero if it is unbounded.
|
String |
getPath()
Returns the file path for the storage unit's storage in the file system
|
long |
getReserveSpace()
Returns the amount of space to reserve on the storage file system.
|
int |
getStorageId()
Returns the storage ID for the storage unit
|
boolean |
isRemovable()
Returns true if the storage is removable.
|
public MtpStorage(StorageVolume volume, Context context)
public final int getStorageId()
public final String getPath()
public final String getDescription()
public final long getReserveSpace()
public final boolean isRemovable()
public long getMaxFileSize()