ObjectInfo

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)

Object info data set as defined by the PTP standard.

Parameters

storageId
objectFormat
protectionStatus

representing the write-protection status of the data object. 0x0000 No Protection 0x0001 Read-Only other reserved

objectCompressedSize
thumbFormat
thumbCompressedSize
thumbPixWidth
thumbPixHeight
imagePixWidth
imagePixHeight
imageBitDepth
parentObject
associationType
associationDesc
sequenceNumber
filename
captureDate
modificationDate
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)