Object Info
data class ObjectInfo(storageId: Int, objectFormat: Int, protectionStatus: Int, objectCompressedSize: Int, thumbFormat: Int, thumbCompressedSize: Int, thumbPixWidth: Int, thumbPixHeight: Int, imagePixWidth: Int, imagePixHeight: Int, imageBitDepth: Int, parentObject: Int, associationType: Int, associationDesc: Int, sequenceNumber: Int, filename: String?, captureDate: String?, modificationDate: String?, keywords: Int)
Content copied to clipboard
Object info data set as defined by the PTP standard.
Parameters
storage Id
object Format
protection Status
representing the write-protection status of the data object. 0x0000 No Protection 0x0001 Read-Only other reserved
object Compressed Size
thumb Format
thumb Compressed Size
thumb Pix Width
thumb Pix Height
image Pix Width
image Pix Height
image Bit Depth
parent Object
association Type
association Desc
sequence Number
filename
capture Date
modification Date
keywords
Constructors
Link copied to clipboard
fun ObjectInfo(storageId: Int = 0, objectFormat: Int = 0, protectionStatus: Int = 0, objectCompressedSize: Int = 0, thumbFormat: Int = 0, thumbCompressedSize: Int = 0, thumbPixWidth: Int = 0, thumbPixHeight: Int = 0, imagePixWidth: Int = 0, imagePixHeight: Int = 0, imageBitDepth: Int = 0, parentObject: Int = 0, associationType: Int = 0, associationDesc: Int = 0, sequenceNumber: Int = 0, filename: String? = null, captureDate: String? = null, modificationDate: String? = null, keywords: Int = 0)
Content copied to clipboard