Expand description
§Bindings to the ImageCaptureCore
framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- ICCamera
Device ICCameraDevice
andICDevice
- ICCameraDevice is a concrete subclass of ICDevice class. ICDeviceBrowser creates instances of this class.
- ICCamera
File ICCameraFile
andICCameraItem
- This class represents a file on an ICCameraDevice object.
- ICCamera
Folder ICCameraFolder
andICCameraItem
- This class represents a folder on an ICCameraDevice object.
- ICCamera
Item ICCameraItem
- ICCameraItem is an abstract class that represents an item in an ICCameraDevice object. ICCameraDevice object creates instances of two concrete subclasses of ICCameraItem: ICCameraFolder and ICCameraFile.
- ICDevice
ICDevice
- ICDevice is an abstract class that represents a device supported by Image Capture facility. ImageCaptureCore defines two concrete subclasses of ICDevice, ICCameraDevice and ICScannerDevice. ICDeviceBrowser creates instances of these two subclasses to represent cameras and scanners it finds.
- ICDevice
Browser ICDeviceBrowser
- The ICDeviceBrowser object is used to find devices such as digital cameras and scanners that are supported by Image Capture. These device may be directly attached to the USB or FireWire bus on the host computer, or available over a TCP/IP network. This object communicates with an Image Capture agent process asynchronously to accomplish this.
- ICDevice
Location Type ICDevice
- Image Capture Device Location Types
- ICDevice
Location Type Mask ICDevice
- Image Capture Device Location Type Mask
- ICDevice
Type ICDevice
- Image Capture Device Types
- ICDevice
Type Mask ICDevice
- Image Capture Device Type Mask
- ICEXIF
Orientation Type ImageCaptureConstants
- Apple’s documentation
- ICLegacy
Return Code ImageCaptureConstants
- Apple’s documentation
- ICMedia
Presentation ICCameraDevice
- Apple’s documentation
- ICReturn
Code ImageCaptureConstants
- Apple’s documentation
- ICReturn
Code Offset ImageCaptureConstants
- Apple’s documentation
- ICReturn
Connection Error Code ImageCaptureConstants
- Apple’s documentation
- ICReturn
Download Error Code ImageCaptureConstants
- Apple’s documentation
- ICReturn
Metadata Error Code ImageCaptureConstants
- Apple’s documentation
- ICReturn
Object Error Code ImageCaptureConstants
- Apple’s documentation
- ICReturnPTP
Device Error Code ImageCaptureConstants
- Apple’s documentation
- ICReturn
Thumbnail Error Code ImageCaptureConstants
- Apple’s documentation
- ICScanner
Band Data ICScannerBandData
- Apple’s documentation
- ICScanner
BitDepth ICScannerFunctionalUnits
- Bits per channel in the scanned image.
- ICScanner
Color Data Format Type ICScannerFunctionalUnits
- Identifies color data formats. Only relevant for multi-channel data. Corresponds to “ICAP_PLANARCHUNKY” of the TWAIN Specification.
- ICScanner
Device ICDevice
andICScannerDevice
- ICScannerDevice is a concrete subclass of ICDevice class. ICDeviceBrowser creates instances of this class.
- ICScanner
Document Type ICScannerFunctionalUnits
- Document size types. Corresponds to “ICAP_SUPPORTEDSIZES” used by the Image Catpure scanner modules. Also refer to TWAIN 1.9 Specification, page 9-483.
- ICScanner
Feature ICScannerFunctionalUnits
- ICScannerFeature class is an abstract base class used to describe a scanner feature. ImageCaptureCore defines three concrete subclasses of ICScannerFeature: ICScannerFeatureEnumeration, ICScannerFeatureRange and ICScannerFeatureBoolean.
- ICScanner
Feature Boolean ICScannerFunctionalUnits
- ICScannerFeatureBoolean object is used to represent a property of a scanner functional unit whose value can be YES or NO.
- ICScanner
Feature Enumeration ICScannerFunctionalUnits
- ICScannerFeatureEnumeration object is used to represent a feature of a scanner functional unit that can have one of several discrete values.
- ICScanner
Feature Range ICScannerFunctionalUnits
- ICScannerFeatureRange object is used to represent a property of a scanner functional unit whose value lies within a range.
- ICScanner
Feature Template ICScannerFunctionalUnits
- ICScannerFeatureTemplate object is used to define a group of one or more rectangular scan areas that can be used with a scanner functional unit.
- ICScanner
Feature Type ICScannerFunctionalUnits
- Scanner Feature Types
- ICScanner
Functional Unit ICScannerFunctionalUnits
- ICScannerFunctionalUnit is an abstract class that represents a scanner functiona unit. ImageCaptureCore defines three concrete subclasses of ICScannerFunctionalUnit: ICScannerFunctionalUnitFlatbed, ICScannerFunctionalUnitPositiveTransparency, ICScannerFunctionalUnitNegativeTransparency and ICScannerFunctionalUnitDocumentFeeder. ICScannerDevice creates instances of these concrete subclasses.
- ICScanner
Functional Unit Document Feeder ICScannerFunctionalUnits
- ICScannerFunctionalUnitDocumentFeeder is a concrete subclass of ICScannerFunctionalUnit class. ICScannerDevice creates instances of this class.
- ICScanner
Functional Unit Flatbed ICScannerFunctionalUnits
- ICScannerFunctionalUnitFlatbed is a concrete subclass of ICScannerFunctionalUnit class. ICScannerDevice creates instances of this class.
- ICScanner
Functional Unit Negative Transparency ICScannerFunctionalUnits
- ICScannerFunctionalUnitNegativeTransparency is a concrete subclass of ICScannerFunctionalUnit class. ICScannerDevice creates instances of this class.
- ICScanner
Functional Unit Positive Transparency ICScannerFunctionalUnits
- ICScannerFunctionalUnitPositiveTransparency is a concrete subclass of ICScannerFunctionalUnit class. ICScannerDevice creates instances of this class.
- ICScanner
Functional Unit State ICScannerFunctionalUnits
- A flag to indicate the scanner functional unit’s state
- ICScanner
Functional Unit Type ICScannerFunctionalUnits
- Scanner Functional Unit Types
- ICScanner
Measurement Unit ICScannerFunctionalUnits
- Unit of measurement used by the scanner. This corresponds to values used for ICAP_UNITS as defined in the TWAIN Specification.
- ICScanner
Pixel Data Type ICScannerFunctionalUnits
- Pixel data types. Corresponds to “ICAP_PIXELTYPE” of the TWAIN Specification.
- ICScanner
Transfer Mode ICScannerDevice
- Transfer mode to be used when transferring scan data from the scanner functional unit.
Statics§
- ICAuthorization
Status ⚠Authorized ICDeviceBrowser
- Apple’s documentation
- ICAuthorization
Status ⚠Denied ICDeviceBrowser
- Apple’s documentation
- ICAuthorization
Status ⚠NotDetermined ICDeviceBrowser
- Apple’s documentation
- ICAuthorization
Status ⚠Restricted ICDeviceBrowser
- Apple’s documentation
- ICButton
Type ⚠Copy ICScannerDevice
- ICButtonTypeCopy
- ICButton
Type ⚠Mail ICScannerDevice
- ICButtonTypeMail
- ICButton
Type ⚠Print ICScannerDevice
- ICButtonTypePrint
- ICButton
Type ⚠Scan ICScannerDevice
- ICButtonTypeScan
- ICButton
Type ⚠Transfer ICScannerDevice
- ICButtonTypeTransfer
- ICButton
Type ⚠Web ICScannerDevice
- ICButtonTypeWeb
- ICCamera
Device ⚠CanAcceptPTP Commands ICCameraDevice
andICDevice
- Indicates that the camera can accept PTP commands.
- ICCamera
Device ⚠CanDelete AllFiles ICCameraDevice
andICDevice
- Indicates that the camera can delete all files in a single operation while it is connected.
- ICCamera
Device ⚠CanDelete OneFile ICCameraDevice
andICDevice
- Indicates that the camera can delete a file at a time while it is connected.
- ICCamera
Device ⚠CanReceive File ICCameraDevice
andICDevice
- Indicates that the host can upload files to the camera.
- ICCamera
Device ⚠CanSync Clock ICCameraDevice
andICDevice
- Indicates that the camera can synchronize its date and time with that of the host computer.
- ICCamera
Device ⚠CanTake Picture ICCameraDevice
andICDevice
- Indicates that the camera can capture a picture while it is connected, if the client sends a ‘requestTakePicture’ message to it.
- ICCamera
Device ⚠CanTake Picture Using Shutter Release OnCamera ICCameraDevice
andICDevice
- Indicates that the camera can capture a picture while it is connected, if the user presses the shutter release on the camera.
- ICCamera
Device ⚠SupportsHEIF ICCameraDevice
andICDevice
- Indicates that the camera supports HEIF transcoding, and can change the presentation of converted assets and original assets on the fly.
- ICDelete
After ⚠Successful Download ICCameraItem
- ICDeleteAfterSuccessfulDownload
- ICDelete
Canceled ⚠ICCameraDevice
- The value for this key should be an NSArray <ICCameraItem >
- ICDelete
Error ⚠Canceled ICCameraDevice
- The value for this key should be an ICCameraItem*
- ICDelete
Error ⚠Device Missing ICCameraDevice
- The value for this key should be an ICCameraItem*
- ICDelete
Error ⚠File Missing ICCameraDevice
- The value for this key should be an ICCameraItem*
- ICDelete
Error ⚠Read Only ICCameraDevice
- The value for this key should be an ICCameraItem*
- ICDelete
Failed ⚠ICCameraDevice
- The value for this key should be an NSArray <ICCameraItem >
- ICDelete
Successful ⚠ICCameraDevice
- The value for this key should be an NSArray <ICCameraItem >
- ICDevice
CanEject ⚠OrDisconnect ICDevice
- Indicates either the device is mounted as a mass-storage volume and can be ejected or the it is a remote device with an active connection that can be disconnected.
- ICDevice
Location ⚠Description Bluetooth ICDevice
- This description is returned for locationDescription property of a device connected via Bluetooth.
- ICDevice
Location ⚠Description Fire Wire ICDevice
- This description is returned for locationDescription property of a device connected to a FireWire port.
- ICDevice
Location ⚠Description Mass Storage ICDevice
- This description is returned for locationDescription property of a device that is mounted as a mass-storage volume.
- ICDevice
Location ⚠DescriptionUSB ICDevice
- This description is returned for locationDescription property of a device connected to a USB port.
- ICDownload
Sidecar ⚠Files ICCameraItem
- ICDownloadSidecarFiles
- ICDownloads
DirectoryURL ⚠ICCameraItem
- ICDownloadsDirectoryURL
- ICEnumeration
Chronological ⚠Order ICDevice
- Apple’s documentation
- ICError
Domain ⚠ImageCaptureConstants
- Type representing EXIF Orientation tag value
- ICImage
Source ⚠Should Cache ICCameraItem
- Apple’s documentation
- ICImage
Source ⚠Thumbnail MaxPixel Size ICCameraItem
- Use of this key will override any custom thumbnail size requested, ignoring the ICImageSourceThumbnailMaxPixelSize option entirely.
- ICLocalized
Status ⚠Notification Key ICDevice
- Key for a localized notification string.
- ICOverwrite⚠
ICCameraItem
- ICOverwrite
- ICRun
Loop ⚠Mode ImageCaptureConstants
- Apple’s documentation
- ICSave
AsFilename ⚠ICCameraItem
- ICSaveAsFilename
- ICSaved
Ancillary ⚠Files ICCameraItem
- ICSavedAncillaryFiles
- ICSaved
Filename ⚠ICCameraItem
- ICSavedFilename
- ICScanner
Status ⚠Requests Overview Scan ICScannerDevice
- ICScannerStatusRequestsOverviewScan
- ICScanner
Status ⚠Warm UpDone ICScannerDevice
- ICScannerStatusWarmUpDone
- ICScanner
Status ⚠Warming Up ICScannerDevice
- ICScannerStatusWarmingUp
- ICStatus
Code ⚠Key ICDevice
- One of values defined in ICReturnCode.
- ICStatus
Notification ⚠Key ICDevice
- Key for a non-localized notification string.
- ICTransport
Type ⚠Bluetooth ICDevice
- Indicates that the device uses Bluetooth transport.
- ICTransport
Type ⚠ExFAT ICDevice
- Indicates that the device use mounts as a exFat storage volume.
- ICTransport
Type ⚠Fire Wire ICDevice
- Indicates that the device uses FireWire transport.
- ICTransport
Type ⚠Mass Storage ICDevice
- Indicates that the device use mounts as a mass-storage volume.
- ICTransport
Type ⚠Proximity ICDevice
- Indicates that the device transport is based on proximity instead of a predefined phyiscal layer.
- ICTransport
TypeTCPIP ⚠ICDevice
- Indicates that the device uses TCP/IP transport. These devices are discovered using Bonjour.
- ICTransport
TypeUSB ⚠ICDevice
- Indicates that the device uses USB transport.
- ICTruncate
After ⚠Successful Download ICCameraItem
- The value for this key should be an NSNumber object representing a boolean value. If this value is YES, and the file is a JPG converted from HEIC on device, the padding will be stripped from the end of the file. Note that the file size property of the ICCameraItem object will not be updated to reflect the newly truncated image. This option has no effect for images coming from devices without the ability to convert from HEIC to JPG.
Traits§
- ICCamera
Device Delegate ICCameraDevice
andICDevice
- A delegate of ICCameraDevice must conform to ICCameraDeviceDelegate protocol.
- ICCamera
Device Download Delegate ICCameraDevice
- The object passed in as ‘downloadDelegate’ in the ‘requestDownloadFile:options:downloadDelegate:didDownloadSelector:contextInfo:’ message must conform to ICCameraDeviceDownloadDelegate protocol.
- ICDevice
Browser Delegate ICDeviceBrowser
- A delegate of ICDeviceBrowser must conform to ICDeviceBrowserDelegate protocol.
- ICDevice
Delegate ICDevice
- A delegate of ICDevice must conform to ICDeviceDelegate protocol.
- ICScanner
Device Delegate ICDevice
andICScannerDevice
- A delegate of ICScannerDevice must conform to ICScannerDeviceDelegate protocol.
Type Aliases§
- ICAuthorization
Status ICDeviceBrowser
- Apple’s documentation
- ICCamera
Item Metadata Option ICCameraItem
- Apple’s documentation
- ICCamera
Item Thumbnail Option ICCameraItem
- Apple’s documentation
- ICDelete
Error ICCameraDevice
- Apple’s documentation
- ICDelete
Result ICCameraDevice
- Apple’s documentation
- ICDevice
Capability ICDevice
- Apple’s documentation
- ICDevice
Location Options ICDevice
- Apple’s documentation
- ICDevice
Status ICDevice
- Apple’s documentation
- ICDevice
Transport ICDevice
- Apple’s documentation
- ICDownload
Option ICCameraItem
- Apple’s documentation
- ICSession
Options ICDevice
- Apple’s documentation
- ICUpload
Option ICCameraDevice
- Apple’s documentation