[−][src]Trait image_capture_core::camera_item::ICCameraItem
ICCameraItem is an abstract class that represents an item in an ICCameraDevice object
Required methods
unsafe fn device(self) -> id
Parent device of this folder.
unsafe fn parentFolder(self) -> id
Parent folder of this folder.
unsafe fn name(self) -> id
Name of this folder.
unsafe fn UTI(self) -> id
Item UTI. This is an Uniform Type Identifier string.
unsafe fn fileSystemPath(self) -> id
The file system path of the item for items on a device with transportType of ICTransportTypeMassStorage.
unsafe fn isLocked(self) -> BOOL
Indicates the protection state of this folder.
unsafe fn isRaw(self) -> BOOL
Indicates if the file is a raw image file.
unsafe fn isInTemporaryStore(self) -> BOOL
Indicates if this folder is in a temporary store.
unsafe fn creationDate(self) -> id
Creation date of this file.
unsafe fn modificationDate(self) -> id
Modification date of this file.
unsafe fn thumbnailIfAvailable(self) -> CGImageRef
Thumbnail for the item if one is readily available.
unsafe fn largeThumbnailIfAvailable(self) -> CGImageRef
Large thumbnail for the item if one is readily available.
unsafe fn metadataIfAvailable(self) -> id
Metadata for the file if one is readily available.
unsafe fn userData(self) -> id
A mutable dictionary to store arbitrary key-value pairs associated with a camera item object.
unsafe fn ptpObjectHandle(self) -> c_uint
PTP object handle value if the item is on a camera that uses PTP protocol.
unsafe fn wasAddedAfterContentCatalogCompleted(self) -> BOOL
This property is set if the file is captured on the device after the device's content is fully enumerated.