Methods Summary |
---|
public final int | getAssociationDesc()Returns the association description for the MTP object
Will be zero objects that are not of format
{@link android.mtp.MtpConstants#FORMAT_ASSOCIATION}
return mAssociationDesc;
|
public final int | getAssociationType()Returns the association type for the MTP object
Will be zero objects that are not of format
{@link android.mtp.MtpConstants#FORMAT_ASSOCIATION}
For directories the association type is typically
{@link android.mtp.MtpConstants#ASSOCIATION_TYPE_GENERIC_FOLDER}
return mAssociationType;
|
public final int | getCompressedSize()Returns the size of the MTP object
return mCompressedSize;
|
public final long | getDateCreated()Returns the creation date of the MTP object
The value is represented as milliseconds since January 1, 1970
return mDateCreated;
|
public final long | getDateModified()Returns the modification date of the MTP object
The value is represented as milliseconds since January 1, 1970
return mDateModified;
|
public final int | getFormat()Returns the format code for the MTP object
return mFormat;
|
public final int | getImagePixDepth()Returns the depth of the MTP object in bits per pixel
Will be zero for non-image objects
return mImagePixDepth;
|
public final int | getImagePixHeight()Returns the height of the MTP object in pixels
Will be zero for non-image objects
return mImagePixHeight;
|
public final int | getImagePixWidth()Returns the width of the MTP object in pixels
Will be zero for non-image objects
return mImagePixWidth;
|
public final java.lang.String | getKeywords()Returns a comma separated list of keywords for the MTP object
return mKeywords;
|
public final java.lang.String | getName()Returns the name of the MTP object
return mName;
|
public final int | getObjectHandle()Returns the object handle for the MTP object
return mHandle;
|
public final int | getParent()Returns the object handle for the object's parent
Will be zero for the root directory of a storage unit
return mParent;
|
public final int | getProtectionStatus()Returns the protection status for the MTP object
Possible values are:
- {@link android.mtp.MtpConstants#PROTECTION_STATUS_NONE}
- {@link android.mtp.MtpConstants#PROTECTION_STATUS_READ_ONLY}
- {@link android.mtp.MtpConstants#PROTECTION_STATUS_NON_TRANSFERABLE_DATA}
return mProtectionStatus;
|
public final int | getSequenceNumber()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.
return mSequenceNumber;
|
public final int | getStorageId()Returns the storage ID for the MTP object's storage unit
return mStorageId;
|
public final int | getThumbCompressedSize()Returns the size of the MTP object's thumbnail
Will be zero for objects with no thumbnail
return mThumbCompressedSize;
|
public final int | getThumbFormat()Returns the format code for the MTP object's thumbnail
Will be zero for objects with no thumbnail
return mThumbFormat;
|
public final int | getThumbPixHeight()Returns the height of the MTP object's thumbnail in pixels
Will be zero for objects with no thumbnail
return mThumbPixHeight;
|
public final int | getThumbPixWidth()Returns the width of the MTP object's thumbnail in pixels
Will be zero for objects with no thumbnail
return mThumbPixWidth;
|