java.lang.Object | |
↳ | android.mtp.MtpStorageInfo |
This class encapsulates information about a storage unit on an MTP device. This corresponds to the StorageInfo Dataset described in section 5.2.2 of the MTP specification.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the description string for the storage unit.
| |||||||||||
Returns the amount of free space in the storage unit in bytes
| |||||||||||
Returns the maximum storage capacity for the storage unit in bytes
| |||||||||||
Returns the storage ID for the storage unit.
| |||||||||||
Returns the volume identifier for the storage unit
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the description string for the storage unit. This is typically displayed to the user in the user interface on the MTP host.
Returns the amount of free space in the storage unit in bytes
Returns the maximum storage capacity for the storage unit in bytes
Returns the storage ID for the storage unit. The storage ID uniquely identifies the storage unit on the MTP device.
Returns the volume identifier for the storage unit