java.lang.Object | |
↳ | android.mtp.MtpObjectInfo |
This class encapsulates information about an object on an MTP device. This corresponds to the ObjectInfo Dataset described in section 5.3.1 of the MTP specification.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the association description for the MTP object
Will be zero objects that are not of format
FORMAT_ASSOCIATION
| |||||||||||
Returns the association type for the MTP object
Will be zero objects that are not of format
FORMAT_ASSOCIATION
For directories the association type is typically
ASSOCIATION_TYPE_GENERIC_FOLDER
| |||||||||||
Returns the size of the MTP object
| |||||||||||
Returns the creation date of the MTP object
The value is represented as milliseconds since January 1, 1970
| |||||||||||
Returns the modification date of the MTP object
The value is represented as milliseconds since January 1, 1970
| |||||||||||
Returns the format code for the MTP object
| |||||||||||
Returns the depth of the MTP object in bits per pixel
Will be zero for non-image objects
| |||||||||||
Returns the height of the MTP object in pixels
Will be zero for non-image objects
| |||||||||||
Returns the width of the MTP object in pixels
Will be zero for non-image objects
| |||||||||||
Returns a comma separated list of keywords for the MTP object
| |||||||||||
Returns the name of the MTP object
| |||||||||||
Returns the object handle for the MTP object
| |||||||||||
Returns the object handle for the object's parent
Will be zero for the root directory of a storage unit
| |||||||||||
Returns the protection status for the MTP object
Possible values are:
| |||||||||||
Returns the sequence number for the MTP object
This field is typically not used for MTP devices,
but is sometimes used to define a sequence of photos
on PTP cameras.
| |||||||||||
Returns the storage ID for the MTP object's storage unit
| |||||||||||
Returns the size of the MTP object's thumbnail
Will be zero for objects with no thumbnail
| |||||||||||
Returns the format code for the MTP object's thumbnail
Will be zero for objects with no thumbnail
| |||||||||||
Returns the height of the MTP object's thumbnail in pixels
Will be zero for objects with no thumbnail
| |||||||||||
Returns the width of the MTP object's thumbnail in pixels
Will be zero for objects with no thumbnail
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the association description for the MTP object
Will be zero objects that are not of format
FORMAT_ASSOCIATION
Returns the association type for the MTP object
Will be zero objects that are not of format
FORMAT_ASSOCIATION
For directories the association type is typically
ASSOCIATION_TYPE_GENERIC_FOLDER
Returns the size of the MTP object
Returns the creation date of the MTP object The value is represented as milliseconds since January 1, 1970
Returns the modification date of the MTP object The value is represented as milliseconds since January 1, 1970
Returns the format code for the MTP object
Returns the depth of the MTP object in bits per pixel Will be zero for non-image objects
Returns the height of the MTP object in pixels Will be zero for non-image objects
Returns the width of the MTP object in pixels Will be zero for non-image objects
Returns a comma separated list of keywords for the MTP object
Returns the name of the MTP object
Returns the object handle for the MTP object
Returns the object handle for the object's parent Will be zero for the root directory of a storage unit
Returns the protection status for the MTP object Possible values are:
Returns the sequence number for the MTP object This field is typically not used for MTP devices, but is sometimes used to define a sequence of photos on PTP cameras.
Returns the storage ID for the MTP object's storage unit
Returns the size of the MTP object's thumbnail Will be zero for objects with no thumbnail
Returns the format code for the MTP object's thumbnail Will be zero for objects with no thumbnail
Returns the height of the MTP object's thumbnail in pixels Will be zero for objects with no thumbnail
Returns the width of the MTP object's thumbnail in pixels Will be zero for objects with no thumbnail