imagecapturecore

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package imagecapturecore provides purego-based Go bindings for the macOS ImageCaptureCore framework.

Apple documentation: https://developer.apple.com/documentation/imagecapturecore

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ICButtonTypeCopy

func ICButtonTypeCopy() uintptr

@const ICButtonTypeCopy @abstract ICButtonTypeCopy @discussion Indicates that the "Copy" button on the device was pressed.

func ICButtonTypeMail

func ICButtonTypeMail() uintptr

@const ICButtonTypeMail @abstract ICButtonTypeMail @discussion Indicates that the "Mail" button on the device was pressed.

func ICButtonTypePrint

func ICButtonTypePrint() uintptr

@const ICButtonTypePrint @abstract ICButtonTypePrint @discussion Indicates that the "Print" button on the device was pressed.

func ICButtonTypeScan

func ICButtonTypeScan() uintptr

@const ICButtonTypeScan @abstract ICButtonTypeScan @discussion Indicates that the "Scan" button on the device was pressed.

func ICButtonTypeTransfer

func ICButtonTypeTransfer() uintptr

func ICButtonTypeWeb

func ICButtonTypeWeb() uintptr

@const ICButtonTypeWeb @abstract ICButtonTypeWeb @discussion Indicates that the "Web" button on the device was pressed.

func ICCameraDeviceCanAcceptPTPCommands

func ICCameraDeviceCanAcceptPTPCommands() *foundation.NSString

@const ICCameraDeviceCanAcceptPTPCommands @discussion Indicates that the camera can accept PTP commands.

func ICCameraDeviceCanDeleteAllFiles

func ICCameraDeviceCanDeleteAllFiles() *foundation.NSString

@const ICCameraDeviceCanDeleteAllFiles @discussion Indicates that the camera can delete all files in a single operation while it is connected.

func ICCameraDeviceCanDeleteOneFile

func ICCameraDeviceCanDeleteOneFile() *foundation.NSString

@const ICCameraDeviceCanDeleteOneFile @discussion Indicates that the camera can delete a file at a time while it is connected.

func ICCameraDeviceCanReceiveFile

func ICCameraDeviceCanReceiveFile() *foundation.NSString

@const ICCameraDeviceCanReceiveFile @discussion Indicates that the host can upload files to the camera.

func ICCameraDeviceCanSyncClock

func ICCameraDeviceCanSyncClock() *foundation.NSString

@const ICCameraDeviceCanSyncClock @discussion Indicates that the camera can synchronize its date and time with that of the host computer.

func ICCameraDeviceCanTakePicture

func ICCameraDeviceCanTakePicture() *foundation.NSString

@const ICCameraDeviceCanTakePicture @discussion Indicates that the camera can capture a picture while it is connected, if the client sends a 'requestTakePicture' message to it.

func ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera

func ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera() *foundation.NSString

@const ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera @discussion Indicates that the camera can capture a picture while it is connected, if the user presses the shutter release on the camera.

func ICCameraDeviceSupportsHEIF

func ICCameraDeviceSupportsHEIF() *foundation.NSString

@const ICCameraDeviceSupportsHEIF @discussion Indicates that the camera supports HEIF transcoding, and can change the presentation of converted assets and original assets on the fly.

func ICCameraFileFingerprintForFileAtURL

func ICCameraFileFingerprintForFileAtURL(url *foundation.NSURL) *foundation.NSString

@property fingerprintForFileAtURL @abstract Generates a fingerprint given a URL date, or nil.

func ICDeleteAfterSuccessfulDownload

func ICDeleteAfterSuccessfulDownload() *foundation.NSString

@const ICDeleteAfterSuccessfulDownload @abstract ICDeleteAfterSuccessfulDownload @discussion The value for this key should be an NSNumber object representing a boolean value. If this value is YES, the file will be deleted from the device after it is succcessfully downloaded.

func ICDeleteCanceled

func ICDeleteCanceled() *foundation.NSString

@const ICDeleteCanceled @discussion The value for this key should be an NSArray<ICCameraItem*>*

func ICDeleteErrorCanceled

func ICDeleteErrorCanceled() *foundation.NSString

@const ICDeleteErrorDeviceMissing @discussion The value for this key should be an ICCameraItem*

func ICDeleteErrorDeviceMissing

func ICDeleteErrorDeviceMissing() *foundation.NSString

@const ICDeleteErrorDeviceMissing @discussion The value for this key should be an ICCameraItem*

func ICDeleteErrorFileMissing

func ICDeleteErrorFileMissing() *foundation.NSString

@const ICDeleteErrorFileMissing @discussion The value for this key should be an ICCameraItem*

func ICDeleteErrorReadOnly

func ICDeleteErrorReadOnly() *foundation.NSString

@const ICDeleteErrorReadOnly @discussion The value for this key should be an ICCameraItem*

func ICDeleteFailed

func ICDeleteFailed() *foundation.NSString

@const ICDeleteFailed @discussion The value for this key should be an NSArray<ICCameraItem*>*

func ICDeleteSuccessful

func ICDeleteSuccessful() *foundation.NSString

@const ICDeleteSuccessful @discussion The value for this key should be an NSArray<ICCameraItem*>*

func ICDeviceCanEjectOrDisconnect

func ICDeviceCanEjectOrDisconnect() *foundation.NSString

@const ICDeviceCanEjectOrDisconnect @abstract 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.

func ICDeviceLocationDescriptionBluetooth

func ICDeviceLocationDescriptionBluetooth() *foundation.NSString

@const ICDeviceLocationDescriptionBluetooth @abstract This description is returned for locationDescription property of a device connected via Bluetooth.

func ICDeviceLocationDescriptionFireWire

func ICDeviceLocationDescriptionFireWire() *foundation.NSString

@const ICDeviceLocationDescriptionFireWire @abstract This description is returned for locationDescription property of a device connected to a FireWire port.

func ICDeviceLocationDescriptionMassStorage

func ICDeviceLocationDescriptionMassStorage() *foundation.NSString

@const ICDeviceLocationDescriptionMassStorage @abstract This description is returned for locationDescription property of a device that is mounted as a mass-storage volume.

func ICDeviceLocationDescriptionUSB

func ICDeviceLocationDescriptionUSB() *foundation.NSString

@const ICDeviceLocationDescriptionUSB @abstract This description is returned for locationDescription property of a device connected to a USB port.

func ICDownloadSidecarFiles

func ICDownloadSidecarFiles() *foundation.NSString

@const ICDownloadSidecarFiles @abstract ICDownloadSidecarFiles @discussion The value for this key should be an NSNumber object representing a boolean value. If this value is YES, all sidecar files will be downloaded along with the media file.

func ICDownloadsDirectoryURL

func ICDownloadsDirectoryURL() *foundation.NSString

@const ICDownloadsDirectoryURL @abstract ICDownloadsDirectoryURL @discussion The value for this key should be an NSURL object referencing a writable directory. The downloaded files will be saved in that directory.

func ICEnumerationChronologicalOrder

func ICEnumerationChronologicalOrder() *foundation.NSString

func ICErrorDomain

func ICErrorDomain() *foundation.NSString

@ICEXIFOrientationType @abstract Type representing EXIF Orientation tag value @discussion The meaning of this value is defined by the EXIF specification. Here is what the letter F would look like if it were tagged correctly and displayed by a program that ignores the orientation tag (thus showing the stored image): 1 2 3 4 8888888 8888888 88 88 88 88 88 88 8888 8888 8888 8888 88 88 88 88 88 88 8888888 8888888 5 6 7 8 8888888888 88 88 8888888888 88 88 88 88 88 88 88 88 88 8888888888 8888888888 88

func ICImageSourceShouldCache

func ICImageSourceShouldCache() *foundation.NSString

func ICImageSourceThumbnailMaxPixelSize

func ICImageSourceThumbnailMaxPixelSize() *foundation.NSString

@const ICCameraItemThumbnailOption @enum ICImageSourceShouldCache Use of this key will override any custom thumbnail size requested, ignoring the ICImageSourceThumbnailMaxPixelSize option entirely. @enum ICImageSourceThumbnailMaxPixelSize Use of this key will be ignored if ICImageSourceShouldCache has also been passed in. Custom thumbnail requests will never be cached. @discussion Only the embedded EXIF thumbnail, or a created thumbnail of EXIF standard size (160x120) will be cached. Use of the ICImageSourceShouldCache flag is discouraged, as the framework shall not act as a backing store out of convienence. If use of this flag is required, it is highly recommeded to only keep the image cached within the framework temporarily, using the method -[ICCameraItem flushThumbnailCache] to evict the thumbnail. Multiple calls to both cache the EXIF thumbnail, and subsequently retrieve a larger thumbnail will work as defined.

func ICLocalizedStatusNotificationKey

func ICLocalizedStatusNotificationKey() uintptr

@const ICLocalizedStatusNotificationKey @abstract Key for a localized notification string.

func ICOverwrite

func ICOverwrite() *foundation.NSString

@const ICOverwrite @abstract ICOverwrite @discussion The value for this key should be an NSNumber object representing a boolean value. If this value is YES, the downloaded file will overwrite an existing file with the same name and extension.

func ICRunLoopMode

func ICRunLoopMode() uintptr

func ICSaveAsFilename

func ICSaveAsFilename() *foundation.NSString

@const ICSaveAsFilename @abstract ICSaveAsFilename @discussion The value for this key should be an NSString object containing the name to be used for the downloaded file.

func ICSavedAncillaryFiles

func ICSavedAncillaryFiles() *foundation.NSString

@const ICSavedAncillaryFiles @abstract ICSavedAncillaryFiles @discussion The value for this key will be an NSArray object containing names of files associated with the primary file that is downloaded. The options dictionary returned in didDownloadFile:error:options:contextInfo: may have this key.

func ICSavedFilename

func ICSavedFilename() *foundation.NSString

@const ICSavedFilename @abstract ICSavedFilename @discussion The value for this key will be an NSString object containing the actual name of the saved file. The options dictionary returned in didDownloadFile:error:options:contextInfo: will have this key.

func ICScannerStatusRequestsOverviewScan

func ICScannerStatusRequestsOverviewScan() uintptr

@const ICScannerStatusRequestsOverviewScan @abstract ICScannerStatusRequestsOverviewScan @discussion A non-localized notification string to indicate that the scanner is requesting an overview scan to be performed.

func ICScannerStatusWarmUpDone

func ICScannerStatusWarmUpDone() uintptr

@const ICScannerStatusWarmUpDone @abstract ICScannerStatusWarmUpDone @discussion A non-localized notification string to indicate that the scanner has warmed up.

func ICScannerStatusWarmingUp

func ICScannerStatusWarmingUp() uintptr

@const ICScannerStatusWarmingUp @abstract ICScannerStatusWarmingUp @discussion A non-localized notification string to indicate that the scanner is warming up.

func ICStatusCodeKey

func ICStatusCodeKey() uintptr

@const ICStatusCodeKey @abstract One of values defined in ICReturnCode.

func ICStatusNotificationKey

func ICStatusNotificationKey() *foundation.NSString

@const ICStatusNotificationKey @abstract Key for a non-localized notification string.

func ICTransportTypeBluetooth

func ICTransportTypeBluetooth() uintptr

@const ICTransportTypeBluetooth @abstract Indicates that the device uses Bluetooth transport.

func ICTransportTypeFireWire

func ICTransportTypeFireWire() uintptr

@const ICTransportTypeFireWire @abstract Indicates that the device uses FireWire transport.

func ICTransportTypeMassStorage

func ICTransportTypeMassStorage() *foundation.NSString

@const ICTransportTypeMassStorage @abstract Indicates that the device use mounts as a mass-storage volume.

func ICTransportTypeProximity

func ICTransportTypeProximity() *foundation.NSString

@const ICTransportTypeProximity @abstract Indicates that the device transport is based on proximity instead of a predefined phyiscal layer.

func ICTransportTypeTCPIP

func ICTransportTypeTCPIP() *foundation.NSString

@const ICTransportTypeTCPIP @abstract Indicates that the device uses TCP/IP transport. These devices are discovered using Bonjour.

func ICTransportTypeUSB

func ICTransportTypeUSB() *foundation.NSString

@const ICTransportTypeUSB @abstract Indicates that the device uses USB transport.

func ICTruncateAfterSuccessfulDownload

func ICTruncateAfterSuccessfulDownload() *foundation.NSString

@const ICTruncateAfterSuccessfulDownload @discussion 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.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int64
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type ICCameraDevice

type ICCameraDevice struct {
	ICDevice
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/iccameradevice

func ICCameraDeviceFromID

func ICCameraDeviceFromID(id objc.ID) *ICCameraDevice

func (*ICCameraDevice) BatteryLevel

func (o *ICCameraDevice) BatteryLevel() uint

@property batteryLevel @abstract Indicates the battery charge level. Its value ranges from 0 to 100.

func (*ICCameraDevice) BatteryLevelAvailable

func (o *ICCameraDevice) BatteryLevelAvailable() bool

@property batteryLevelAvailable @abstract Indicates if the device has reported battery charge level.

func (*ICCameraDevice) CancelDelete

func (o *ICCameraDevice) CancelDelete()

@method cancelDelete @abstract Cancels the current delete operation started by sending a 'requestDeleteFiles:'. This will only cancel operations in flight when a batch of files have been requested for deletion.

func (*ICCameraDevice) CancelDownload

func (o *ICCameraDevice) CancelDownload()

@method cancelDownload @abstract Cancels the current download operation if supported

func (*ICCameraDevice) ContentCatalogPercentCompleted

func (o *ICCameraDevice) ContentCatalogPercentCompleted() uint

@property contentCatalogPercentCompleted @abstract Indicates the percentage of content cataloging completed on the device. Its value ranges from 0 to 100.

func (*ICCameraDevice) Contents

func (o *ICCameraDevice) Contents() *foundation.NSArray[*ICCameraItem]

@property contents @abstract Contents of the camera. The structure of the elements in this array will reflect the folder structure of the storage reported by the camera. Each item in this array will correspond to a storage on the camera.

func (*ICCameraDevice) FilesOfType

func (o *ICCameraDevice) FilesOfType(fileUTType *foundation.NSString) *foundation.NSArray[*foundation.NSString]

@method filesOfType: @abstract This method returns an array of files on the camera of type fileType. @discussion The fileType string is one of the following Uniform Type Identifier strings: kUTTypeImage, kUTTypeMovie, kUTTypeAudio, or kUTTypeData.

func (*ICCameraDevice) ICloudPhotosEnabled

func (o *ICCameraDevice) ICloudPhotosEnabled() bool

@property iCloudPhotosEnabled @abstract Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host.

func (*ICCameraDevice) IsAccessRestrictedAppleDevice

func (o *ICCameraDevice) IsAccessRestrictedAppleDevice() bool

@property accessRestrictedAppleDevice @abstract Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host.

func (*ICCameraDevice) IsEjectable

func (o *ICCameraDevice) IsEjectable() bool

@property ejectable @abstract Indicates whether the device can be 'soft' removed or disconnected.

func (*ICCameraDevice) IsLocked

func (o *ICCameraDevice) IsLocked() bool

@property locked @abstract Indicates whether the device is locked. A locked device does not allow for deletion of any asset.

func (*ICCameraDevice) MediaFiles

func (o *ICCameraDevice) MediaFiles() *foundation.NSArray[*ICCameraItem]

@property mediaFiles @abstract The property mediaFiles represents all image, movie and audio files on the camera. These files are returned as a single array without regard to the folder hierarchy used to store these files on the camera.

func (*ICCameraDevice) MediaPresentation

func (o *ICCameraDevice) MediaPresentation() ICMediaPresentation

@property mediaPresentation @abstract The media presentation describes the visible assets from a device that may contain multiple formats of each media asset. The asigngments are of the type ICMediaPresentation enumeration. This property is available only if the capability ICCameraDeviceSupportsHEIF is present. @discussion A device supporting this capability can specify the following presentations: ICMediaPresentationConverted - The default behavior for applications retrieving images from a device supporting HEIF is to show only converted JPG from HEIF originals, and only H264 encoded video assets from HEVC. ICMediaPresentationOriginal - This presentation will show only original images from a device supporting HEIF and HEVC. Burned in renders are always exported in JPG, as are burned in effects for MOV clips.

func (*ICCameraDevice) MountPoint

func (o *ICCameraDevice) MountPoint() unsafe.Pointer

@property mountPoint @abstract Filesystem mount point for a device with transportType of ICTransportTypeMassStorage. This will be NULL for all other devices.

func (*ICCameraDevice) PtpEventHandler

func (o *ICCameraDevice) PtpEventHandler() objc.Block

@property ptpEventHandler @abstract As an alternative to setting up an object to handle PTP event packets, a handler can be set. The handler will always be called in place of the delegate if non-nil. If the handler is not present, the delegate will be called if present. It is guaranteed only one of the methods will be called if both are implemented.

func (*ICCameraDevice) RequestDeleteFiles

func (o *ICCameraDevice) RequestDeleteFiles(files *foundation.NSArray[*ICCameraItem])

@method requestDeleteFiles @abstract Deletes files.

func (*ICCameraDevice) RequestDeleteFilesDeleteFailedCompletion

func (o *ICCameraDevice) RequestDeleteFilesDeleteFailedCompletion(files *foundation.NSArray[*ICCameraItem], deleteFailed objc.Block, completion objc.Block) *foundation.NSProgress

@method requestDeleteFiles:deleteFailed:completion @abstract Allows for deletion of an array of ICCameraItem objects, with the added ability to catch delete failures using the 'deleteFailed' block, and a completion block that will return the overall state of the request. The deleteFailed block will return: - NSDictionary<ICDeleteError, ICCameraItem*>* The completion block will return: — error: - nil if successful - NSError* with an code set to ICReturnDeleteFilesFailed if any file failed. - result: NSDictionary<ICDeleteResult, NSArray<ICCameraItem*>*>* result - ICDeleteSuccessful: NSArray<ICCameraItem*>* success - ICDeleteFailed: NSArray<ICCameraItem*>* failed

func (*ICCameraDevice) RequestDisableTethering

func (o *ICCameraDevice) RequestDisableTethering()

@method requestDisableTethering @abstract Send this message to disable tethered capture on the camera device if the camera has the 'ICCameraDeviceCanTakePicture' capability and if your process has already sent a 'requestEnableTethering' to it.

func (*ICCameraDevice) RequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo

func (o *ICCameraDevice) RequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo(file *ICCameraFile, options *foundation.NSDictionary[*foundation.NSString, objc.ID], downloadDelegate ICCameraDeviceDownloadDelegate, selector objc.SEL, contextInfo unsafe.Pointer)

@method requestDownloadFile:options:downloadDelegate:didDownloadSelector:contextInfo: @abstract Download a file from the camera. Please refer to the top of this header for information about the options. @discussion The downloadDelegate passed must not be nil. When this request is completed, the didDownloadSelector of the downloadDelegate object is called.The didDownloadSelector should have the same signature as: - (void)didDownloadFile:(ICCameraFile*)file error:(NSError*)error options:(NSDictionary*)options contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully.

func (*ICCameraDevice) RequestEnableTethering

func (o *ICCameraDevice) RequestEnableTethering()

@method requestEnableTethering @abstract Send this message to enable tethered capture on the camera device if the camera has the 'ICCameraDeviceCanTakePicture' capability.

func (*ICCameraDevice) RequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo

func (o *ICCameraDevice) RequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo(file *ICCameraFile, offset int64, length int64, readDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)

@method requestReadDataFromFile:atOffset:length:readDelegate:didReadDataSelector:contextInfo: @abstract This method asynchronously reads data of a specified length from a specified offset. @discussion The readDelegate passed must not be nil. When this request is completed, the didReadDataSelector of the readDelegate object is called. The didReadDataSelector should have the same signature as: - (void)didReadData:(NSData*)data fromFile:(ICCameraFile*)file error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully.

func (*ICCameraDevice) RequestSendPTPCommandOutDataCompletion

func (o *ICCameraDevice) RequestSendPTPCommandOutDataCompletion(ptpCommand *foundation.NSData, ptpData *foundation.NSData, completion func(*foundation.NSData, *foundation.NSData, unsafe.Pointer))

@method requestSendPTPCommand:outData:completion @abstract This method asynchronously sends a PTP command to a camera. @discussion The response, data, and any error message will be returned the block.

func (*ICCameraDevice) RequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo

func (o *ICCameraDevice) RequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo(command *foundation.NSData, data *foundation.NSData, sendCommandDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)

@method requestSendPTPCommand:outData:sendCommandDelegate:sendCommandDelegate:contextInfo: @abstract This method asynchronously sends a PTP command to a camera. @discussion This should be sent only if the 'capabilities' property contains 'ICCameraDeviceCanAcceptPTPCommands'. All PTP cameras have this capability. The response to this command will be delivered using didSendCommandSelector of sendCommandDelegate. The didSendCommandSelector should have the same signature as: - (void)didSendPTPCommand:(NSData*)command inData:(NSData*)data response:(NSData*)response error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully.

func (*ICCameraDevice) RequestSyncClock

func (o *ICCameraDevice) RequestSyncClock()

@method requestSyncClock @abstract Synchronize camera's clock with the computer's clock. You should send this request only if the camera has the 'ICCameraDeviceCanSyncClock' capability.

func (*ICCameraDevice) RequestTakePicture

func (o *ICCameraDevice) RequestTakePicture()

@method requestTakePicture @abstract Capture a new image using the camera, the camera capabilities include 'ICCameraDeviceCanTakePicture'.

func (*ICCameraDevice) RequestUploadFileOptionsUploadDelegateDidUploadSelectorContextInfo

func (o *ICCameraDevice) RequestUploadFileOptionsUploadDelegateDidUploadSelectorContextInfo(fileURL *foundation.NSURL, options *foundation.NSDictionary[*foundation.NSString, objc.ID], uploadDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)

@method requestUploadFile:options:uploadDelegate:didUploadSelector:contextInfo: @abstract Upload a file at fileURL to the camera. The options dictionary is not used in this version. @discussion The uploadDelegate passed must not be nil. When this request is completed, the didUploadSelector of the uploadDelegate object is called. The didUploadSelector should have the same signature as: - (void)didUploadFile:(NSURL*)fileURL error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully.

func (*ICCameraDevice) SetMediaPresentation

func (o *ICCameraDevice) SetMediaPresentation(mediaPresentation ICMediaPresentation)

func (*ICCameraDevice) SetPtpEventHandler

func (o *ICCameraDevice) SetPtpEventHandler(ptpEventHandler func(*foundation.NSData))

func (*ICCameraDevice) TetheredCaptureEnabled

func (o *ICCameraDevice) TetheredCaptureEnabled() bool

@property tetheredCaptureEnabled @abstract This property is always set to YES when the device has the capability 'ICCameraDeviceCanTakePicture' @discussion requestEnableTethering/requestDisableTethering is no longer required to setup and destroy the standard take picture functionality of supported cameras.

func (*ICCameraDevice) TimeOffset

func (o *ICCameraDevice) TimeOffset() float64

@property timeOffset @abstract Indicates the time offset, in seconds, between the camera's clock and the computer's clock. This value is positive if the camera's clock is ahead of the computer's clock. This property should be ignored if the camera's capabilities property does not contain ICCameraDeviceCanSyncClock.

type ICCameraDeviceDelegate

type ICCameraDeviceDelegate interface {
	ICDeviceDelegate
	CameraDeviceDidAddItems(camera *ICCameraDevice, items *foundation.NSArray[*ICCameraItem])
	CameraDeviceDidRemoveItems(camera *ICCameraDevice, items *foundation.NSArray[*ICCameraItem])
	CameraDeviceDidReceiveThumbnailForItemError(camera *ICCameraDevice, thumbnail unsafe.Pointer, item *ICCameraItem, error_ unsafe.Pointer)
	CameraDeviceDidReceiveMetadataForItemError(camera *ICCameraDevice, metadata *foundation.NSDictionary[objc.ID, objc.ID], item *ICCameraItem, error_ unsafe.Pointer)
	CameraDeviceDidRenameItems(camera *ICCameraDevice, items *foundation.NSArray[*ICCameraItem])
	CameraDeviceDidChangeCapability(camera *ICCameraDevice)
	CameraDeviceDidReceivePTPEvent(camera *ICCameraDevice, eventData *foundation.NSData)
	DeviceDidBecomeReadyWithCompleteContentCatalog(device *ICCameraDevice)
	CameraDeviceDidRemoveAccessRestriction(device *ICDevice)
	CameraDeviceDidEnableAccessRestriction(device *ICDevice)
}

ICCameraDeviceDelegate wraps the ObjC protocol ICCameraDeviceDelegate.

type ICCameraDeviceDownloadDelegate

type ICCameraDeviceDownloadDelegate interface {
}

ICCameraDeviceDownloadDelegate wraps the ObjC protocol ICCameraDeviceDownloadDelegate.

type ICCameraFile

type ICCameraFile struct {
	ICCameraItem
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/iccamerafile

func ICCameraFileFromID

func ICCameraFileFromID(id objc.ID) *ICCameraFile

func (*ICCameraFile) BurstFavorite

func (o *ICCameraFile) BurstFavorite() bool

@property burstFavorite @abstract True if burst favorite, ignored if not in a burst or not a burst favorite.

func (*ICCameraFile) BurstPicked

func (o *ICCameraFile) BurstPicked() bool

@property burstPicked @abstract True if burst user picked, ignored if not in a burst or not a burst user picked.

func (*ICCameraFile) BurstUUID

func (o *ICCameraFile) BurstUUID() *foundation.NSString

@property burstUUID @abstract burstUUID of file if present, nil if not in a burst.

func (*ICCameraFile) CreatedFilename

func (o *ICCameraFile) CreatedFilename() *foundation.NSString

@property createdFilename @abstract Created filename

func (*ICCameraFile) Duration

func (o *ICCameraFile) Duration() float64

@property duration @abstract Duration of audio/video file in seconds.

func (*ICCameraFile) ExifCreationDate

func (o *ICCameraFile) ExifCreationDate() *foundation.NSDate

@property exifCreationDate @abstract Properties will either represent the exif creation date, or nil.

func (*ICCameraFile) ExifModificationDate

func (o *ICCameraFile) ExifModificationDate() *foundation.NSDate

@property exifModificationDate @abstract Properties will either represent the exif modification date, or nil.

func (*ICCameraFile) FileCreationDate

func (o *ICCameraFile) FileCreationDate() *foundation.NSDate

@property fileCreationDate @abstract Properties will either represent the actual file creation date, or nil.

func (*ICCameraFile) FileModificationDate

func (o *ICCameraFile) FileModificationDate() *foundation.NSDate

@property fileModificationDate @abstract Properties will either represent the actual file modification date, or nil.

func (*ICCameraFile) FileSize

func (o *ICCameraFile) FileSize() int64

@property fileSize @abstract Size of file in bytes.

func (*ICCameraFile) Fingerprint

func (o *ICCameraFile) Fingerprint() *foundation.NSString

@property fingerprint @abstract A fingerprint generated from the camera file data date, or nil.

func (*ICCameraFile) FirstPicked

func (o *ICCameraFile) FirstPicked() bool

@property firstPicked @abstract True if file is a firstPicked nil otherwise.

func (*ICCameraFile) GpsString

func (o *ICCameraFile) GpsString() *foundation.NSString

@property gpsString @abstract GPS String in standard format.

func (*ICCameraFile) GroupUUID

func (o *ICCameraFile) GroupUUID() *foundation.NSString

@property groupUUID @abstract groupUUID of file if present, nil if file has no groupUUID.

func (*ICCameraFile) Height

func (o *ICCameraFile) Height() int

@property height @abstract Height of an image or movie frame.

func (*ICCameraFile) HighFramerate

func (o *ICCameraFile) HighFramerate() bool

@property highFramerate @abstract True if file is a slo-mo or high framerate video file, nil otherwise.

func (*ICCameraFile) Orientation

func (o *ICCameraFile) Orientation() ICEXIFOrientationType

@property orientation @abstract Desired orientation of image to use when it is downloaded. @discussion This property is set to ICEXIFOrientation1 initially. If the format of this file supports EXIF orientation tag, then this property will be updated to match the value of that tag, when the thumbnail or metadata for this file is received.

func (*ICCameraFile) OriginalFilename

func (o *ICCameraFile) OriginalFilename() *foundation.NSString

@property originalFilename @abstract Original filename on disk

func (*ICCameraFile) OriginatingAssetID

func (o *ICCameraFile) OriginatingAssetID() *foundation.NSString

@property originatingAssetID @abstract originatingAssetID of file if present, nil if not a HEIF or HVEC.

func (*ICCameraFile) PairedRawImage

func (o *ICCameraFile) PairedRawImage() *ICCameraFile

@property pairedRawImage @abstract A single item subset of the sidecarFiles array, which contains the logical RAW compliment of a JPG or other format image.

func (*ICCameraFile) RelatedUUID

func (o *ICCameraFile) RelatedUUID() *foundation.NSString

@property relatedUUID @abstract Internal related UUID for dbg/aae/etc.

func (*ICCameraFile) RequestDownloadWithOptionsCompletion

func (o *ICCameraFile) RequestDownloadWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(*foundation.NSString, unsafe.Pointer)) *foundation.NSProgress

@method requestDownloadWithOptions:progressDelegate:completion @abstract Perform a download request and execute the block callback in place of the delegate. @param options Dictionary Keys: - `ICDownloadsDirectoryURL` - `ICSaveAsFilename` - `ICOverwriteExistingFile` - `ICDeleteAfterDownload` - `ICAdjustCreationDate` @param completion Completion block to executed after request has returned, @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) RequestFingerprintWithCompletion

func (o *ICCameraFile) RequestFingerprintWithCompletion(completion func(*foundation.NSString, unsafe.Pointer))

@method requestFingerprintWithCompletion @abstract Requests a fingerprint be generated for camera file. @param completion Completion block called with an NSString*, and an NSError* for status. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) RequestMetadataDictionaryWithOptionsCompletion

func (o *ICCameraFile) RequestMetadataDictionaryWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion objc.Block)

@method requestMetadataDictionaryWithOptions:completion @abstract Perform a metadata request and execute the block callback in place of the delegate. @param options Options dictionary @param completion Completion block called with an NSDictionary* object containing the metadata, and an NSError* for status. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) RequestReadDataAtOffsetLengthCompletion

func (o *ICCameraFile) RequestReadDataAtOffsetLengthCompletion(offset int64, length int64, completion func(*foundation.NSData, unsafe.Pointer))

@method requestReadDataAtOffset:length:completion @abstract This method asynchronously reads data of a specified length from a specified offset. @param offset The offset into the file to start reading from @param length The length of data to be read. @param completion Completion block called with an NSData* object representing the data, and an NSError* for status. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) RequestSecurityScopedURLWithCompletion

func (o *ICCameraFile) RequestSecurityScopedURLWithCompletion(completion func(*foundation.NSURL, unsafe.Pointer))

@method requestSecurityScopedURLWithCompletion @abstract Requests a security scoped NSURL* for a media file on a mass storage volume. The returned NSURL* requires the use of startAccessingSecurityScopedResource, and stopAccessingSecurityScopedResource for access. @param completion Completion block called with an NSURL*, and an NSError* for status. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) RequestThumbnailDataWithOptionsCompletion

func (o *ICCameraFile) RequestThumbnailDataWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(*foundation.NSData, unsafe.Pointer))

@method requestThumbnailDataWithOptions:completion @abstract Perform a thumbnail request and execute the block callback in place of the delegate. @param options Options dictionary - 'kCGImageSourceThumbnailMaxPixelSize' - Request a width different from the embedded EXIF thumbnail @param completion Completion block called with an NSData* object representing the JPG, and an NSError* for status. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICCameraFile) SetOrientation

func (o *ICCameraFile) SetOrientation(orientation ICEXIFOrientationType)

func (*ICCameraFile) SidecarFiles

func (o *ICCameraFile) SidecarFiles() *foundation.NSArray[*ICCameraItem]

@property sidecarFiles @abstract This property is NULL if there are no sidecar files associated with this file. Otherwise it is an array of ICCameraFile instances of sidecar files associated with this file. An example of a sidecar file is a file with the same base name as this file and having an extension XMP.

func (*ICCameraFile) TimeLapse

func (o *ICCameraFile) TimeLapse() bool

@property timeLapse @abstract True if file is a time-lapse video file, nil otherwise.

func (*ICCameraFile) Width

func (o *ICCameraFile) Width() int

@property width @abstract Width of an image or movie frame.

type ICCameraFolder

type ICCameraFolder struct {
	ICCameraItem
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/iccamerafolder

func ICCameraFolderFromID

func ICCameraFolderFromID(id objc.ID) *ICCameraFolder

func (*ICCameraFolder) Contents

func (o *ICCameraFolder) Contents() *foundation.NSArray[*ICCameraItem]

type ICCameraItem

type ICCameraItem struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/iccameraitem

func ICCameraItemFromID

func ICCameraItemFromID(id objc.ID) *ICCameraItem

func (*ICCameraItem) CreationDate

func (o *ICCameraItem) CreationDate() *foundation.NSDate

@property creationDate @abstract Creation date of this file. This information is usually the same as the EXIF creation date.

func (*ICCameraItem) Device

func (o *ICCameraItem) Device() *ICCameraDevice

@property device @abstract Parent device of this item.

func (*ICCameraItem) FileSystemPath

func (o *ICCameraItem) FileSystemPath() unsafe.Pointer

@property fileSystemPath @abstract The file system path of the item for items on a device with transportType of ICTransportTypeMassStorage.

func (*ICCameraItem) FlushMetadataCache

func (o *ICCameraItem) FlushMetadataCache()

@method flushMetadataCache @abstract Deletes cached metadata for the item.

func (*ICCameraItem) FlushThumbnailCache

func (o *ICCameraItem) FlushThumbnailCache()

@method flushThumbnailCache @abstract Deletes cached thumbnail for the item.

func (*ICCameraItem) IsInTemporaryStore

func (o *ICCameraItem) IsInTemporaryStore() bool

@property inTemporaryStore @abstract Indicates if this folder is in a temporary store. A temporary store may be used by the device when images are captures on the device when it is tethered to the computer.

func (*ICCameraItem) IsLocked

func (o *ICCameraItem) IsLocked() bool

@property locked @abstract Indicates the protection state of this item. It is locked if the storage card in the camera is locked.

func (*ICCameraItem) IsRaw

func (o *ICCameraItem) IsRaw() bool

@property raw @abstract Indicates if the file is a raw image file.

func (*ICCameraItem) LargeThumbnailIfAvailable

func (o *ICCameraItem) LargeThumbnailIfAvailable() unsafe.Pointer

@property largeThumbnailIfAvailable

func (*ICCameraItem) Metadata

func (o *ICCameraItem) Metadata() *foundation.NSDictionary[objc.ID, objc.ID]

@property metadata @abstract Metadata for the item. The value of this property is NULL unless a 'requestMetadata' message is sent to this object.

func (*ICCameraItem) MetadataIfAvailable

func (o *ICCameraItem) MetadataIfAvailable() unsafe.Pointer

@property metadataIfAvailable

func (*ICCameraItem) ModificationDate

func (o *ICCameraItem) ModificationDate() *foundation.NSDate

@property modificationDate @abstract Modification date of this file. This information is usually the same as the EXIF modification date.

func (*ICCameraItem) Name

func (o *ICCameraItem) Name() *foundation.NSString

@property name @abstract Name of this item.

func (*ICCameraItem) ParentFolder

func (o *ICCameraItem) ParentFolder() *ICCameraFolder

@property parentFolder @abstract Parent folder of this folder. The root folder's parentFolder is nil.

func (*ICCameraItem) PtpObjectHandle

func (o *ICCameraItem) PtpObjectHandle() uint

@property ptpObjectHandle @abstract PTP object handle value if the item is on a camera that uses PTP protocol. The value of this property is set to 0 if the camera does not use PTP protocol.

func (*ICCameraItem) RequestMetadata

func (o *ICCameraItem) RequestMetadata()

@method requestMetadata @abstract Metadata for the file if one is readily available. If one is not readily available, accessing this property will send a message to the device requesting metadata for the file. The delegate of the device will be notified via method "cameraDevice:didReceiveMetadata:forItem:error:", if this method is implemented by the delegate. @note Execution of the delegate callback will occur on the main thread.

func (*ICCameraItem) RequestThumbnail

func (o *ICCameraItem) RequestThumbnail()

@method requestThumbnail @abstract This method requests thumbnail for the item. If one is not readily available, accessing this property will send a message to the device requesting a thumbnail for the file. The delegate of the device will be notified via method "cameraDevice:didReceiveThumbnail:forItem:error:", if this method is implemented by the delegate. @note Execution of the delegate callback will occur on the main thread.

func (*ICCameraItem) Thumbnail

func (o *ICCameraItem) Thumbnail() unsafe.Pointer

@property thumbnail @abstract Thumbnail for the item. The value of this property is NULL unless a 'requestThumbnail' message is sent to this object.

func (*ICCameraItem) ThumbnailIfAvailable

func (o *ICCameraItem) ThumbnailIfAvailable() unsafe.Pointer

@property thumbnailIfAvailable

func (*ICCameraItem) UTI

func (o *ICCameraItem) UTI() *foundation.NSString

@property UTI @abstract Item UTI. This is an Uniform Type Identifier string. It is one of: kUTTypeFolder, kUTTypeImage, kUTTypeMovie, kUTTypeAudio, or kUTTypeData.

func (*ICCameraItem) UserData

@property userData @abstract A mutable dictionary to store arbitrary key-value pairs associated with a camera item object. This can be used by view objects that bind to this object to store "house-keeping" information.

func (*ICCameraItem) WasAddedAfterContentCatalogCompleted

func (o *ICCameraItem) WasAddedAfterContentCatalogCompleted() bool

@property addedAfterContentCatalogCompleted @abstract This property is set if the file is captured on the device after the device's content is fully enumerated. This does not apply to files added as a result of adding a new store to the device.

type ICDevice

type ICDevice struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icdevice

func ICDeviceFromID

func ICDeviceFromID(id objc.ID) *ICDevice

func (*ICDevice) AutolaunchApplicationPath

func (o *ICDevice) AutolaunchApplicationPath() unsafe.Pointer

@property autolaunchApplicationPath @abstract Filesystem path of an application that is to be automatically launched when this device is added. @discussion This property is unavailable for devices of ICTransportTypeProximity.

func (*ICDevice) Capabilities

func (o *ICDevice) Capabilities() *foundation.NSArray[*foundation.NSString]

@property capabilities @abstract The capabilities of the device as reported by the device module.

func (*ICDevice) Delegate

func (o *ICDevice) Delegate() ICDeviceDelegate

@property delegate @abstract The delegate to receive messages once a session is opened on the device. @discussion The delegate must conform ICDeviceDelegate protocol. In addition it should respond to selectors defined in ICCameraDeviceDelegate protocol in order to effectively interact with the device object. The messages this delegate can expect to receive are described by these protocols.

func (*ICDevice) HasOpenSession

func (o *ICDevice) HasOpenSession() bool

@property hasOpenSession @abstract Indicates whether the device has an open session.

func (*ICDevice) Icon

func (o *ICDevice) Icon() unsafe.Pointer

@property icon @abstract Icon image for the device class. If there is no custom icon present from a device manufacturer, this will be a rendered version of the system symbol for the device class. Using a rendered system symbol instead of the systemSymbolName is discouraged.

func (*ICDevice) IsRemote

func (o *ICDevice) IsRemote() bool

@property remote @abstract Indicates whether the device is a remote device published by Image Capture device sharing facility. @property name @discussion Name of the device as reported by the device module or by the device transport when a device module is not in control of this device. @note This name may change if the device module overrides the default name of the device reported by the device's transport, or if the name of the filesystem volume mounted by the device is changed by the user.

func (*ICDevice) LocationDescription

func (o *ICDevice) LocationDescription() unsafe.Pointer

@property locationDescription @abstract A non-localized location description string for the device. @discussion The value returned in one of the location description strings defined above, or location obtained from the Bonjour TXT record of a network device.

func (*ICDevice) ModuleExecutableArchitecture

func (o *ICDevice) ModuleExecutableArchitecture() int

@property moduleExecutableArchitecture @abstract Reports the device module servicing the requests executable architecture.

func (*ICDevice) ModulePath

func (o *ICDevice) ModulePath() unsafe.Pointer

@property modulePath @abstract Filesystem path of the device module that is associated with this device. Camera-specific capabilities are defined in ICCameraDevice.h and scanner-specific capabilities are defined in ICScannerDevice.h.

func (*ICDevice) ModuleVersion

func (o *ICDevice) ModuleVersion() unsafe.Pointer

@property moduleVersion @abstract The bundle version of the device module associated with this device. @note This may change if an existing device module associated with this device is updated or a new device module for this device is installed.

func (*ICDevice) Name

func (o *ICDevice) Name() *foundation.NSString

@property name @abstract Name of the device as reported by the device module or by the device transport when a device module is not in control of this device. @note This name may change if the device module overrides the default name of the device reported by the device's transport, or if the name of the filesystem volume mounted by the device is changed by the user.

func (*ICDevice) PersistentIDString

func (o *ICDevice) PersistentIDString() unsafe.Pointer

@property persistentIDString @abstract A string representation of the persistent ID of the device.

func (*ICDevice) ProductKind

func (o *ICDevice) ProductKind() *foundation.NSString

@property productKind @abstract Type of the device. Possible values are: @"iPhone", @"iPod", @"iPad", @"Camera", @"Scanner"

func (*ICDevice) RequestCloseSession

func (o *ICDevice) RequestCloseSession()

@method requestCloseSession @abstract This message requests to close a previously opened session on this device. @discussion This request is completed when the delegate receives a "device:didCloseSessionWithError:" message. @note Execution of the delegate callback will occur on the main thread.

func (*ICDevice) RequestCloseSessionWithOptionsCompletion

func (o *ICDevice) RequestCloseSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(unsafe.Pointer))

@method requestCloseSessionWithOptions:completion @abstract This message requests to close a previously opened session on this device. @discussion This request will execute the completion handler provided upon return. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICDevice) RequestEject

func (o *ICDevice) RequestEject()

@method requestEject @abstract Eject the media if permitted by the device, or disconnect from a remote device.

func (*ICDevice) RequestEjectOrDisconnect

func (o *ICDevice) RequestEjectOrDisconnect()

@method requestEjectOrDisconnect @abstract Eject the media if permitted by the device, or disconnect from a remote device.

func (*ICDevice) RequestEjectWithCompletion

func (o *ICDevice) RequestEjectWithCompletion(completion func(unsafe.Pointer))

@method requestEjectWithCompletion: @abstract Eject the media, or disconnect the device - if permitted by the device. @discussion This request will execute the completion handler provided upon return. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICDevice) RequestOpenSession

func (o *ICDevice) RequestOpenSession()

@method requestOpenSession @abstract This message requests to open a session on the device. @discussion Make sure the receiver's delegate is set prior to sending this message; otherwise this message will be ignored. This request is completed when the delegate receives a "device:didOpenSessionWithError:" message. @note Execution of the delegate callback will occur on the main thread.

func (*ICDevice) RequestOpenSessionWithOptionsCompletion

func (o *ICDevice) RequestOpenSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(unsafe.Pointer))

@method requestOpenSessionWithOptions:completion @abstract This message requests to open a session on the device. @discussion This request will execute the completion handler provided upon return. @note The completion block will execute on an any available queue, often this will not be the main queue.

func (*ICDevice) RequestSendMessageOutDataMaxReturnedDataSizeSendMessageDelegateDidSendMessageSelectorContextInfo

func (o *ICDevice) RequestSendMessageOutDataMaxReturnedDataSizeSendMessageDelegateDidSendMessageSelectorContextInfo(messageCode uint, data *foundation.NSData, maxReturnedDataSize uint, sendMessageDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)

@method requestSendMessage:outData:maxReturnDataSize:sendMessageDelegate:didSendMessageSelector:contextInfo: @abstract This method asynchronously sends an arbitrary message with optional data to a device. @discussion This method allows developers to send a private message from a client application to a device module. The response to this command will be delivered using didSendMessageSelector of sendMessageDelegate. The didSendMessageSelector should have the same signature as: - (void)didSendMessage:(UInt32)messageCode inData:(NSData*)data error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully. @note This method should not be used to send PTP pass-through commands to a PTP camera. Please refer to 'requestSendPTPCommand:outData:sendCommandDelegate:sendCommandDelegate:contextInfo:' defined in ICCameraDevice.h for sending PTP pass-through commands. @note Execution of the delegate callback will occur on the main thread.

func (*ICDevice) RequestYield

func (o *ICDevice) RequestYield()

@method requestYield @abstract This message requests the device module in control of this device to yield control. @discussion This message should be used only if the client is planning on communicating with the device directly. The device module may not yield control of the device if it has an open session.

func (*ICDevice) SerialNumberString

func (o *ICDevice) SerialNumberString() unsafe.Pointer

@property serialNumberString @abstract The serial number of the device. This will be NULL if the device does not provide a serial number.

func (*ICDevice) SetAutolaunchApplicationPath

func (o *ICDevice) SetAutolaunchApplicationPath(autolaunchApplicationPath unsafe.Pointer)

func (*ICDevice) SetDelegate

func (o *ICDevice) SetDelegate(delegate ICDeviceDelegate)

func (*ICDevice) SystemSymbolName

func (o *ICDevice) SystemSymbolName() *foundation.NSString

@property systemSymbolName @abstract Standard system symbol used to represent the device class. Using the symbol to render an appropriate device icon will ensure proper scaling for high resolution devices.

func (*ICDevice) TransportType

func (o *ICDevice) TransportType() *foundation.NSString

@property transportType @abstract The transport type used by the device. The possible values are: ICTransportTypeUSB or ICTransportTypeMassStorage.

func (*ICDevice) Type

func (o *ICDevice) Type() ICDeviceType

@property type @abstract The type of the device as defined by ICDeviceType OR'd with its ICDeviceLocationType. @note The type of this device can be obtained by AND'ing the value retuned by this property with an appropriate ICDeviceTypeMask. @note The location type of this device can be obtained by AND'ing the value retuned by this property with an appropriate ICDeviceLocationTypeMask.

func (*ICDevice) UUIDString

func (o *ICDevice) UUIDString() *foundation.NSString

@property UUIDString @abstract A string representation of the Universally Unique ID of the device.

func (*ICDevice) UsbLocationID

func (o *ICDevice) UsbLocationID() int

@property usbLocationID @abstract The USB location of which the device is occupying.

func (*ICDevice) UsbProductID

func (o *ICDevice) UsbProductID() int

@property usbProductID @abstract The USB PID associated with the device attached.

func (*ICDevice) UsbVendorID

func (o *ICDevice) UsbVendorID() int

@property usbVendorID @abstract The USB VID associated with the device attached.

func (*ICDevice) UserData

@property userData @abstract Client convenience bookkeeping object retained by the framework.

type ICDeviceBrowser

type ICDeviceBrowser struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icdevicebrowser

func ICDeviceBrowserFromID

func ICDeviceBrowserFromID(id objc.ID) *ICDeviceBrowser

func (*ICDeviceBrowser) BrowsedDeviceTypeMask

func (o *ICDeviceBrowser) BrowsedDeviceTypeMask() ICDeviceTypeMask

@property browsedDeviceTypeMask @abstract A mask whose set bits indicate the type of device(s) being browsed after the receiver receives the start message. This property can be changed while the browser is browsing for devices. This property can be constructed by OR'd values of ICDeviceTypeMask with values of ICDeviceLocationTypeMask.

func (*ICDeviceBrowser) Delegate

@property delegate @abstract The delegate. It must conform to ICDeviceBrowserDelegate protocol. The messages this delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.

func (*ICDeviceBrowser) Devices

func (o *ICDeviceBrowser) Devices() *foundation.NSArray[*ICDevice]

@property devices @abstract All devices found by the browser. This property will change as devices appear and disappear. This array is empty before the first invocation of the delegate method 'deviceBrowser:didAddDevice:moreComing:'.

func (*ICDeviceBrowser) Init

func (o *ICDeviceBrowser) Init() *ICDeviceBrowser

@method init @abstract This is the designated initializer.

func (*ICDeviceBrowser) IsBrowsing

func (o *ICDeviceBrowser) IsBrowsing() bool

@property browsing @abstract Indicates whether the device browser is browsing for devices.

func (*ICDeviceBrowser) PreferredDevice

func (o *ICDeviceBrowser) PreferredDevice() unsafe.Pointer

@property preferredDevice @abstract This property returns a device object that should be selected by the client application when it is launched. @discussion If the client application that calls this method is the auto-launch application associated with a device and that device is the last device attached (through USB, FireWire or network), then that device will be the preferred device. The best place to call this method is in the implmentation of the ICDeviceBrowser delegate method "deviceBrowser:didAddDevice:moreComing:", if the "moreComing" parameter passed to the delegate is "NO"; or in the delegate method "deviceBrowserDidEnumerateLocalDevices:".

func (*ICDeviceBrowser) SetBrowsedDeviceTypeMask

func (o *ICDeviceBrowser) SetBrowsedDeviceTypeMask(browsedDeviceTypeMask ICDeviceTypeMask)

func (*ICDeviceBrowser) SetDelegate

func (o *ICDeviceBrowser) SetDelegate(delegate ICDeviceBrowserDelegate)

func (*ICDeviceBrowser) Start

func (o *ICDeviceBrowser) Start()

@method start: @abstract This message tells the receiver to start looking for devices. @discussion Make sure that the receiver's delegate is set prior to sending this message; otherwise this message will be ignored. The messages the delegate can expect to receive are described by ICDeviceBrowserDelegate protocol.

func (*ICDeviceBrowser) Stop

func (o *ICDeviceBrowser) Stop()

@method stop: @abstract This method tells the receiver to stop looking for devices. @discussion This will free all device instances that are not in use.

type ICDeviceBrowserDelegate

type ICDeviceBrowserDelegate interface {
	DeviceBrowserDidAddDeviceMoreComing(browser *ICDeviceBrowser, device *ICDevice, moreComing bool)
	DeviceBrowserDidRemoveDeviceMoreGoing(browser *ICDeviceBrowser, device *ICDevice, moreGoing bool)
}

ICDeviceBrowserDelegate wraps the ObjC protocol ICDeviceBrowserDelegate.

type ICDeviceDelegate

type ICDeviceDelegate interface {
}

ICDeviceDelegate wraps the ObjC protocol ICDeviceDelegate.

type ICDeviceLocationType

type ICDeviceLocationType uint64
const (
	ICDeviceLocationTypeLocal     ICDeviceLocationType = 256
	ICDeviceLocationTypeShared    ICDeviceLocationType = 512
	ICDeviceLocationTypeBonjour   ICDeviceLocationType = 1024
	ICDeviceLocationTypeBluetooth ICDeviceLocationType = 2048
)

func (ICDeviceLocationType) String

func (e ICDeviceLocationType) String() string

type ICDeviceLocationTypeMask

type ICDeviceLocationTypeMask uint64
const (
	ICDeviceLocationTypeMaskLocal     ICDeviceLocationTypeMask = 256
	ICDeviceLocationTypeMaskShared    ICDeviceLocationTypeMask = 512
	ICDeviceLocationTypeMaskBonjour   ICDeviceLocationTypeMask = 1024
	ICDeviceLocationTypeMaskBluetooth ICDeviceLocationTypeMask = 2048
	ICDeviceLocationTypeMaskRemote    ICDeviceLocationTypeMask = 65024
)

func (ICDeviceLocationTypeMask) String

func (e ICDeviceLocationTypeMask) String() string

type ICDeviceType

type ICDeviceType uint64
const (
	ICDeviceTypeCamera  ICDeviceType = 1
	ICDeviceTypeScanner ICDeviceType = 2
)

func (ICDeviceType) String

func (e ICDeviceType) String() string

type ICDeviceTypeMask

type ICDeviceTypeMask uint64
const (
	ICDeviceTypeMaskCamera  ICDeviceTypeMask = 1
	ICDeviceTypeMaskScanner ICDeviceTypeMask = 2
)

func (ICDeviceTypeMask) String

func (e ICDeviceTypeMask) String() string

type ICEXIFOrientationType

type ICEXIFOrientationType uint64
const (
	ICEXIFOrientation1 ICEXIFOrientationType = 1
	ICEXIFOrientation2 ICEXIFOrientationType = 2
	ICEXIFOrientation3 ICEXIFOrientationType = 3
	ICEXIFOrientation4 ICEXIFOrientationType = 4
	ICEXIFOrientation5 ICEXIFOrientationType = 5
	ICEXIFOrientation6 ICEXIFOrientationType = 6
	ICEXIFOrientation7 ICEXIFOrientationType = 7
	ICEXIFOrientation8 ICEXIFOrientationType = 8
)

func (ICEXIFOrientationType) String

func (e ICEXIFOrientationType) String() string

type ICLegacyReturnCode

type ICLegacyReturnCode int64
const (
	ICLegacyReturnCodeCommunicationErr               ICLegacyReturnCode = -9900
	ICLegacyReturnCodeDeviceNotFoundErr              ICLegacyReturnCode = -9901
	ICLegacyReturnCodeDeviceNotOpenErr               ICLegacyReturnCode = -9902
	ICLegacyReturnCodeFileCorruptedErr               ICLegacyReturnCode = -9903
	ICLegacyReturnCodeIOPendingErr                   ICLegacyReturnCode = -9904
	ICLegacyReturnCodeInvalidObjectErr               ICLegacyReturnCode = -9905
	ICLegacyReturnCodeInvalidPropertyErr             ICLegacyReturnCode = -9906
	ICLegacyReturnCodeIndexOutOfRangeErr             ICLegacyReturnCode = -9907
	ICLegacyReturnCodePropertyTypeNotFoundErr        ICLegacyReturnCode = -9908
	ICLegacyReturnCodeCannotYieldDevice              ICLegacyReturnCode = -9909
	ICLegacyReturnCodeDataTypeNotFoundErr            ICLegacyReturnCode = -9910
	ICLegacyReturnCodeDeviceMemoryAllocationErr      ICLegacyReturnCode = -9911
	ICLegacyReturnCodeDeviceInternalErr              ICLegacyReturnCode = -9912
	ICLegacyReturnCodeDeviceInvalidParamErr          ICLegacyReturnCode = -9913
	ICLegacyReturnCodeDeviceAlreadyOpenErr           ICLegacyReturnCode = -9914
	ICLegacyReturnCodeDeviceLocationIDNotFoundErr    ICLegacyReturnCode = -9915
	ICLegacyReturnCodeDeviceGUIDNotFoundErr          ICLegacyReturnCode = -9916
	ICLegacyReturnCodeDeviceIOServicePathNotFoundErr ICLegacyReturnCode = -9917
	ICLegacyReturnCodeDeviceUnsupportedErr           ICLegacyReturnCode = -9918
	ICLegacyReturnCodeFrameworkInternalErr           ICLegacyReturnCode = -9919
	ICLegacyReturnCodeExtensionInternalErr           ICLegacyReturnCode = -9920
	ICLegacyReturnCodeInvalidSessionErr              ICLegacyReturnCode = -9921
)

func (ICLegacyReturnCode) String

func (e ICLegacyReturnCode) String() string

type ICMediaPresentation

type ICMediaPresentation uint64
const (
	ICMediaPresentationConvertedAssets ICMediaPresentation = 1
	ICMediaPresentationOriginalAssets  ICMediaPresentation = 2
)

func (ICMediaPresentation) String

func (e ICMediaPresentation) String() string

type ICReturnCode

type ICReturnCode int64
const (
	ICReturnSuccess                              ICReturnCode = 0
	ICReturnInvalidParam                         ICReturnCode = -9922
	ICReturnCommunicationTimedOut                ICReturnCode = -9923
	ICReturnScanOperationCanceled                ICReturnCode = -9924
	ICReturnScannerInUseByLocalUser              ICReturnCode = -9925
	ICReturnScannerInUseByRemoteUser             ICReturnCode = -9926
	ICReturnDeviceFailedToOpenSession            ICReturnCode = -9927
	ICReturnDeviceFailedToCloseSession           ICReturnCode = -9928
	ICReturnScannerFailedToSelectFunctionalUnit  ICReturnCode = -9929
	ICReturnScannerFailedToCompleteOverviewScan  ICReturnCode = -9930
	ICReturnScannerFailedToCompleteScan          ICReturnCode = -9931
	ICReturnReceivedUnsolicitedScannerStatusInfo ICReturnCode = -9932
	ICReturnReceivedUnsolicitedScannerErrorInfo  ICReturnCode = -9933
	ICReturnDownloadFailed                       ICReturnCode = -9934
	ICReturnUploadFailed                         ICReturnCode = -9935
	ICReturnFailedToCompletePassThroughCommand   ICReturnCode = -9936
	ICReturnDownloadCanceled                     ICReturnCode = -9937
	ICReturnFailedToEnabeTethering               ICReturnCode = -9938
	ICReturnFailedToDisabeTethering              ICReturnCode = -9939
	ICReturnFailedToCompleteSendMessageRequest   ICReturnCode = -9940
	ICReturnDeleteFilesFailed                    ICReturnCode = -9941
	ICReturnDeleteFilesCanceled                  ICReturnCode = -9942
	ICReturnDeviceIsPasscodeLocked               ICReturnCode = -9943
	ICReturnDeviceFailedToTakePicture            ICReturnCode = -9944
	ICReturnDeviceSoftwareNotInstalled           ICReturnCode = -9945
	ICReturnDeviceSoftwareIsBeingInstalled       ICReturnCode = -9946
	ICReturnDeviceSoftwareInstallationCompleted  ICReturnCode = -9947
	ICReturnDeviceSoftwareInstallationCanceled   ICReturnCode = -9948
	ICReturnDeviceSoftwareInstallationFailed     ICReturnCode = -9949
	ICReturnDeviceSoftwareNotAvailable           ICReturnCode = -9950
	ICReturnDeviceCouldNotPair                   ICReturnCode = -9951
	ICReturnDeviceCouldNotUnpair                 ICReturnCode = -9952
	ICReturnDeviceNeedsCredentials               ICReturnCode = -9953
	ICReturnDeviceIsBusyEnumerating              ICReturnCode = -9954
	ICReturnDeviceCommandGeneralFailure          ICReturnCode = -9955
	ICReturnDeviceFailedToCompleteTransfer       ICReturnCode = -9956
	ICReturnDeviceFailedToSendData               ICReturnCode = -9957
	ICReturnSessionNotOpened                     ICReturnCode = -9958
	ICReturnExFATVolumeInvalid                   ICReturnCode = 21200
	ICReturnMultiErrorDictionary                 ICReturnCode = -30000
)

func (ICReturnCode) String

func (e ICReturnCode) String() string

type ICReturnCodeOffset

type ICReturnCodeOffset int64
const (
	ICReturnCodeThumbnailOffset  ICReturnCodeOffset = -21000
	ICReturnCodeMetadataOffset   ICReturnCodeOffset = -21050
	ICReturnCodeDownloadOffset   ICReturnCodeOffset = -21100
	ICReturnCodeDeleteOffset     ICReturnCodeOffset = -21150
	ICReturnCodeExFATOffset      ICReturnCodeOffset = -21200
	ICReturnCodePTPOffset        ICReturnCodeOffset = -21250
	ICReturnCodeSystemOffset     ICReturnCodeOffset = -21300
	ICReturnCodeDeviceOffset     ICReturnCodeOffset = -21350
	ICReturnCodeDeviceConnection ICReturnCodeOffset = -21400
	ICReturnCodeObjectOffset     ICReturnCodeOffset = -21450
)

func (ICReturnCodeOffset) String

func (e ICReturnCodeOffset) String() string

type ICReturnConnectionErrorCode

type ICReturnConnectionErrorCode int64
const (
	ICReturnConnectionDriverExited              ICReturnConnectionErrorCode = -21350
	ICReturnConnectionClosedSessionSuddenly     ICReturnConnectionErrorCode = -21349
	ICReturnConnectionEjectedSuddenly           ICReturnConnectionErrorCode = -21348
	ICReturnConnectionSessionAlreadyOpen        ICReturnConnectionErrorCode = -21347
	ICReturnConnectionEjectFailed               ICReturnConnectionErrorCode = -21346
	ICReturnConnectionFailedToOpen              ICReturnConnectionErrorCode = -21345
	ICReturnConnectionFailedToOpenDevice        ICReturnConnectionErrorCode = -21344
	ICReturnConnectionNotAuthorizedToOpenDevice ICReturnConnectionErrorCode = -21343
)

func (ICReturnConnectionErrorCode) String

type ICReturnDownloadErrorCode

type ICReturnDownloadErrorCode int64
const (
	ICReturnDownloadPathInvalid  ICReturnDownloadErrorCode = -21100
	ICReturnDownloadFileWritable ICReturnDownloadErrorCode = -21099
)

func (ICReturnDownloadErrorCode) String

func (e ICReturnDownloadErrorCode) String() string

type ICReturnMetadataErrorCode

type ICReturnMetadataErrorCode int64
const (
	ICReturnMetadataNotAvailable    ICReturnMetadataErrorCode = -20150
	ICReturnMetadataAlreadyFetching ICReturnMetadataErrorCode = -20149
	ICReturnMetadataCanceled        ICReturnMetadataErrorCode = -20148
	ICReturnMetadataInvalid         ICReturnMetadataErrorCode = -20147
)

func (ICReturnMetadataErrorCode) String

func (e ICReturnMetadataErrorCode) String() string

type ICReturnObjectErrorCode

type ICReturnObjectErrorCode int64
const (
	ICReturnCodeObjectDoesNotExist        ICReturnObjectErrorCode = -21450
	ICReturnCodeObjectDataOffsetInvalid   ICReturnObjectErrorCode = -21449
	ICReturnCodeObjectCouldNotBeRead      ICReturnObjectErrorCode = -21448
	ICReturnCodeObjectDataEmpty           ICReturnObjectErrorCode = -21447
	ICReturnCodeObjectDataRequestTooLarge ICReturnObjectErrorCode = -21446
)

func (ICReturnObjectErrorCode) String

func (e ICReturnObjectErrorCode) String() string

type ICReturnPTPDeviceErrorCode

type ICReturnPTPDeviceErrorCode int64
const (
	ICReturnPTPFailedToSendCommand        ICReturnPTPDeviceErrorCode = -21250
	ICReturnPTPNotAuthorizedToSendCommand ICReturnPTPDeviceErrorCode = -21249
)

func (ICReturnPTPDeviceErrorCode) String

type ICReturnThumbnailErrorCode

type ICReturnThumbnailErrorCode int64
const (
	ICReturnThumbnailNotAvailable    ICReturnThumbnailErrorCode = -21000
	ICReturnThumbnailAlreadyFetching ICReturnThumbnailErrorCode = -20999
	ICReturnThumbnailCanceled        ICReturnThumbnailErrorCode = -20098
	ICReturnThumbnailInvalid         ICReturnThumbnailErrorCode = -20097
)

func (ICReturnThumbnailErrorCode) String

type ICScannerBandData

type ICScannerBandData struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerbanddata

func ICScannerBandDataFromID

func ICScannerBandDataFromID(id objc.ID) *ICScannerBandData

func (*ICScannerBandData) BitsPerComponent

func (o *ICScannerBandData) BitsPerComponent() uint

@property bitsPerComponent @abstract Describes the number of bits per component for the banded image.

func (*ICScannerBandData) BitsPerPixel

func (o *ICScannerBandData) BitsPerPixel() uint

@property bitsPerPixel @abstract Describes the number of bits per pixel for banded the image.

func (*ICScannerBandData) BytesPerRow

func (o *ICScannerBandData) BytesPerRow() uint

@property bytesPerRow @abstract Descries how many bytes are in each image band row.

func (*ICScannerBandData) ColorSyncProfilePath

func (o *ICScannerBandData) ColorSyncProfilePath() unsafe.Pointer

@property colorSyncProfilePath @abstract Returns the path to the color profile matching the banded data.

func (*ICScannerBandData) DataBuffer

func (o *ICScannerBandData) DataBuffer() unsafe.Pointer

@property dataBuffer @abstract The pointer to the data buffer object.

func (*ICScannerBandData) DataNumRows

func (o *ICScannerBandData) DataNumRows() uint

@property dataNumRows @abstract Describes the number of rows contained in the image band.

func (*ICScannerBandData) DataSize

func (o *ICScannerBandData) DataSize() uint

@property dataSize @abstract Describes the actual data size of the image band buffer.

func (*ICScannerBandData) DataStartRow

func (o *ICScannerBandData) DataStartRow() uint

@property dataStartRow @abstract Describes the start row of the image band.

func (*ICScannerBandData) FullImageHeight

func (o *ICScannerBandData) FullImageHeight() uint

@property fullImageHeight @abstract Describes the full image height of the banded image.

func (*ICScannerBandData) FullImageWidth

func (o *ICScannerBandData) FullImageWidth() uint

@property fullImageWidth @abstract Describes the full image width of the banded image.

func (*ICScannerBandData) IsBigEndian

func (o *ICScannerBandData) IsBigEndian() bool

@property bigEndian @abstract Describes if the banded image data is reported in big endian.

func (*ICScannerBandData) NumComponents

func (o *ICScannerBandData) NumComponents() uint

@property numComponents @abstract Describes how many components are contained within the banded image.

func (*ICScannerBandData) PixelDataType

func (o *ICScannerBandData) PixelDataType() ICScannerPixelDataType

@property pixelDataType @abstract Type of pixel data that is contained in the band.

type ICScannerBitDepth

type ICScannerBitDepth uint64
const (
	ICScannerBitDepth1Bit   ICScannerBitDepth = 1
	ICScannerBitDepth8Bits  ICScannerBitDepth = 8
	ICScannerBitDepth16Bits ICScannerBitDepth = 16
)

func (ICScannerBitDepth) String

func (e ICScannerBitDepth) String() string

type ICScannerColorDataFormatType

type ICScannerColorDataFormatType uint64
const (
	ICScannerColorDataFormatTypeChunky ICScannerColorDataFormatType = 0
	ICScannerColorDataFormatTypePlanar ICScannerColorDataFormatType = 1
)

func (ICScannerColorDataFormatType) String

type ICScannerDevice

type ICScannerDevice struct {
	ICDevice
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerdevice

func ICScannerDeviceFromID

func ICScannerDeviceFromID(id objc.ID) *ICScannerDevice

func (*ICScannerDevice) AvailableFunctionalUnitTypes

func (o *ICScannerDevice) AvailableFunctionalUnitTypes() unsafe.Pointer

@property availableFunctionalUnitTypes @abstract An array of functional unit types available on this scanner device. This is an array of NSNumber objects whose values are of type ICScannerFunctionalUnitType.

func (*ICScannerDevice) CancelScan

func (o *ICScannerDevice) CancelScan()

@method cancelScan @abstract Cancels the current scan operation started by sending a 'requestOverviewScan' or 'requestScan'.

func (*ICScannerDevice) DefaultUsername

func (o *ICScannerDevice) DefaultUsername() unsafe.Pointer

@property defaultUsername @abstract If the device is protected, instead of prompting the user for a username, this property can be set to default to a specific username as a convience. The value will persist until reset by setting it to nil.

func (*ICScannerDevice) DocumentName

func (o *ICScannerDevice) DocumentName() unsafe.Pointer

@property documentName @abstract The document name.

func (*ICScannerDevice) DocumentUTI

func (o *ICScannerDevice) DocumentUTI() unsafe.Pointer

@property documentUTI @abstract The document UTI. Currently supported UTIs are: kUTTypeJPEG, kUTTypeJPEG2000, kUTTypeTIFF, kUTTypePNG etc.

func (*ICScannerDevice) DownloadsDirectory

func (o *ICScannerDevice) DownloadsDirectory() unsafe.Pointer

@property downloadsDirectory @abstract The downloads directory.

func (*ICScannerDevice) MaxMemoryBandSize

func (o *ICScannerDevice) MaxMemoryBandSize() uint

@property maxMemoryBandSize @abstract The total maximum band size requested when performing a ICScannerTransferModeMemoryBased.

func (*ICScannerDevice) RequestOpenSessionWithCredentialsPassword

func (o *ICScannerDevice) RequestOpenSessionWithCredentialsPassword(username *foundation.NSString, password *foundation.NSString)

@method requestOpenSessionWithCredentials: @abstract This message requests to open a session on the protected device with the authorized username and passcode. If the device reports back a failure of credentials, they can be provided here for the launch. A client MUST open a session on a device in order to use the device. @discussion Make sure the receiver's delegate is set prior to sending this message; otherwise this message will be ignored. This request is completed when the delegate receives a "device:didOpenSessionWithError:" message. No more messages will be sent to the delegate if this request fails.

func (*ICScannerDevice) RequestOverviewScan

func (o *ICScannerDevice) RequestOverviewScan()

@method requestOverviewScan @abstract Starts an overview scan on selectedFunctionalUnit. @discussion When this request is completed, the delegate will be notified using the 'scannerDevice:didCompleteOverviewScanWithError:' message. The content of error returned should be examined to determine if the request completed successfully.

func (*ICScannerDevice) RequestScan

func (o *ICScannerDevice) RequestScan()

@method requestScan @abstract Starts a scan on selectedFunctionalUnit. @discussion When this request is completed, the delegate will be notified using the 'scannerDevice:didCompleteScanWithError:' message. The content of error returned should be examined to determine if the request completed successfully.

func (*ICScannerDevice) RequestSelectFunctionalUnit

func (o *ICScannerDevice) RequestSelectFunctionalUnit(type_ ICScannerFunctionalUnitType)

@method requestSelectFunctionalUnit:delegate:selector:contextInfo: @abstract Requests the scanner device to select a functional unit. @discussion When this request is completed, the delegate will be notified using the 'scannerDevice:didSelectFunctionalUnit:error:' message.

func (*ICScannerDevice) SelectedFunctionalUnit

func (o *ICScannerDevice) SelectedFunctionalUnit() unsafe.Pointer

@property selectedFunctionalUnit @abstract The currently selected functional unit on the scanner device.

func (*ICScannerDevice) SetDefaultUsername

func (o *ICScannerDevice) SetDefaultUsername(defaultUsername unsafe.Pointer)

func (*ICScannerDevice) SetDocumentName

func (o *ICScannerDevice) SetDocumentName(documentName unsafe.Pointer)

func (*ICScannerDevice) SetDocumentUTI

func (o *ICScannerDevice) SetDocumentUTI(documentUTI unsafe.Pointer)

func (*ICScannerDevice) SetDownloadsDirectory

func (o *ICScannerDevice) SetDownloadsDirectory(downloadsDirectory unsafe.Pointer)

func (*ICScannerDevice) SetMaxMemoryBandSize

func (o *ICScannerDevice) SetMaxMemoryBandSize(maxMemoryBandSize uint)

func (*ICScannerDevice) SetTransferMode

func (o *ICScannerDevice) SetTransferMode(transferMode ICScannerTransferMode)

func (*ICScannerDevice) TransferMode

func (o *ICScannerDevice) TransferMode() ICScannerTransferMode

@property transferMode @abstract The transfer mode for scanned document.

type ICScannerDeviceDelegate

type ICScannerDeviceDelegate interface {
	ICDeviceDelegate
}

ICScannerDeviceDelegate wraps the ObjC protocol ICScannerDeviceDelegate.

type ICScannerDocumentType

type ICScannerDocumentType uint64
const (
	ICScannerDocumentTypeDefault      ICScannerDocumentType = 0
	ICScannerDocumentTypeA4           ICScannerDocumentType = 1
	ICScannerDocumentTypeB5           ICScannerDocumentType = 2
	ICScannerDocumentTypeUSLetter     ICScannerDocumentType = 3
	ICScannerDocumentTypeUSLegal      ICScannerDocumentType = 4
	ICScannerDocumentTypeA5           ICScannerDocumentType = 5
	ICScannerDocumentTypeISOB4        ICScannerDocumentType = 6
	ICScannerDocumentTypeISOB6        ICScannerDocumentType = 7
	ICScannerDocumentTypeUSLedger     ICScannerDocumentType = 9
	ICScannerDocumentTypeUSExecutive  ICScannerDocumentType = 10
	ICScannerDocumentTypeA3           ICScannerDocumentType = 11
	ICScannerDocumentTypeISOB3        ICScannerDocumentType = 12
	ICScannerDocumentTypeA6           ICScannerDocumentType = 13
	ICScannerDocumentTypeC4           ICScannerDocumentType = 14
	ICScannerDocumentTypeC5           ICScannerDocumentType = 15
	ICScannerDocumentTypeC6           ICScannerDocumentType = 16
	ICScannerDocumentType4A0          ICScannerDocumentType = 17
	ICScannerDocumentType2A0          ICScannerDocumentType = 18
	ICScannerDocumentTypeA0           ICScannerDocumentType = 19
	ICScannerDocumentTypeA1           ICScannerDocumentType = 20
	ICScannerDocumentTypeA2           ICScannerDocumentType = 21
	ICScannerDocumentTypeA7           ICScannerDocumentType = 22
	ICScannerDocumentTypeA8           ICScannerDocumentType = 23
	ICScannerDocumentTypeA9           ICScannerDocumentType = 24
	ICScannerDocumentType10           ICScannerDocumentType = 25
	ICScannerDocumentTypeISOB0        ICScannerDocumentType = 26
	ICScannerDocumentTypeISOB1        ICScannerDocumentType = 27
	ICScannerDocumentTypeISOB2        ICScannerDocumentType = 28
	ICScannerDocumentTypeISOB5        ICScannerDocumentType = 29
	ICScannerDocumentTypeISOB7        ICScannerDocumentType = 30
	ICScannerDocumentTypeISOB8        ICScannerDocumentType = 31
	ICScannerDocumentTypeISOB9        ICScannerDocumentType = 32
	ICScannerDocumentTypeISOB10       ICScannerDocumentType = 33
	ICScannerDocumentTypeJISB0        ICScannerDocumentType = 34
	ICScannerDocumentTypeJISB1        ICScannerDocumentType = 35
	ICScannerDocumentTypeJISB2        ICScannerDocumentType = 36
	ICScannerDocumentTypeJISB3        ICScannerDocumentType = 37
	ICScannerDocumentTypeJISB4        ICScannerDocumentType = 38
	ICScannerDocumentTypeJISB6        ICScannerDocumentType = 39
	ICScannerDocumentTypeJISB7        ICScannerDocumentType = 40
	ICScannerDocumentTypeJISB8        ICScannerDocumentType = 41
	ICScannerDocumentTypeJISB9        ICScannerDocumentType = 42
	ICScannerDocumentTypeJISB10       ICScannerDocumentType = 43
	ICScannerDocumentTypeC0           ICScannerDocumentType = 44
	ICScannerDocumentTypeC1           ICScannerDocumentType = 45
	ICScannerDocumentTypeC2           ICScannerDocumentType = 46
	ICScannerDocumentTypeC3           ICScannerDocumentType = 47
	ICScannerDocumentTypeC7           ICScannerDocumentType = 48
	ICScannerDocumentTypeC8           ICScannerDocumentType = 49
	ICScannerDocumentTypeC9           ICScannerDocumentType = 50
	ICScannerDocumentTypeC10          ICScannerDocumentType = 51
	ICScannerDocumentTypeUSStatement  ICScannerDocumentType = 52
	ICScannerDocumentTypeBusinessCard ICScannerDocumentType = 53
	ICScannerDocumentTypeE            ICScannerDocumentType = 60
	ICScannerDocumentType3R           ICScannerDocumentType = 61
	ICScannerDocumentType4R           ICScannerDocumentType = 62
	ICScannerDocumentType5R           ICScannerDocumentType = 63
	ICScannerDocumentType6R           ICScannerDocumentType = 64
	ICScannerDocumentType8R           ICScannerDocumentType = 65
	ICScannerDocumentTypeS8R          ICScannerDocumentType = 66
	ICScannerDocumentType10R          ICScannerDocumentType = 67
	ICScannerDocumentTypeS10R         ICScannerDocumentType = 68
	ICScannerDocumentType11R          ICScannerDocumentType = 69
	ICScannerDocumentType12R          ICScannerDocumentType = 70
	ICScannerDocumentTypeS12R         ICScannerDocumentType = 71
	ICScannerDocumentType110          ICScannerDocumentType = 72
	ICScannerDocumentTypeAPSH         ICScannerDocumentType = 73
	ICScannerDocumentTypeAPSC         ICScannerDocumentType = 74
	ICScannerDocumentTypeAPSP         ICScannerDocumentType = 75
	ICScannerDocumentType135          ICScannerDocumentType = 76
	ICScannerDocumentTypeMF           ICScannerDocumentType = 77
	ICScannerDocumentTypeLF           ICScannerDocumentType = 78
)

func (ICScannerDocumentType) String

func (e ICScannerDocumentType) String() string

type ICScannerFeature

type ICScannerFeature struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeature

func ICScannerFeatureFromID

func ICScannerFeatureFromID(id objc.ID) *ICScannerFeature

func (*ICScannerFeature) HumanReadableName

func (o *ICScannerFeature) HumanReadableName() *foundation.NSString

@property humanReadableName @abstract The human readable name of this feature.

func (*ICScannerFeature) InternalName

func (o *ICScannerFeature) InternalName() *foundation.NSString

@property internalName @abstract The internal name of this feature.

func (*ICScannerFeature) Tooltip

func (o *ICScannerFeature) Tooltip() *foundation.NSString

@property tooltip @abstract Tooltip text describing the feature.

func (*ICScannerFeature) Type

@property type @abstract Scanner feature type.

type ICScannerFeatureBoolean

type ICScannerFeatureBoolean struct {
	ICScannerFeature
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeatureboolean

func ICScannerFeatureBooleanFromID

func ICScannerFeatureBooleanFromID(id objc.ID) *ICScannerFeatureBoolean

func (*ICScannerFeatureBoolean) SetValue

func (o *ICScannerFeatureBoolean) SetValue(value bool)

func (*ICScannerFeatureBoolean) Value

func (o *ICScannerFeatureBoolean) Value() bool

type ICScannerFeatureEnumeration

type ICScannerFeatureEnumeration struct {
	ICScannerFeature
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeatureenumeration

func ICScannerFeatureEnumerationFromID

func ICScannerFeatureEnumerationFromID(id objc.ID) *ICScannerFeatureEnumeration

func (*ICScannerFeatureEnumeration) CurrentValue

func (o *ICScannerFeatureEnumeration) CurrentValue() objc.ID

@property currentValue @abstract The current value. The current value can be set to one of the possible values in the "values" property below.

func (*ICScannerFeatureEnumeration) DefaultValue

func (o *ICScannerFeatureEnumeration) DefaultValue() objc.ID

@property defaultValue @abstract The default value. The default value can be set to one of the possible values in the "values" property below.

func (*ICScannerFeatureEnumeration) MenuItemLabels

@property menuItemLabels @abstract The human readable menu item labels to be used in a menu to allow the user to select the current value from an array of possible values.

func (*ICScannerFeatureEnumeration) MenuItemLabelsTooltips

func (o *ICScannerFeatureEnumeration) MenuItemLabelsTooltips() *foundation.NSArray[*foundation.NSString]

@property menuItemLabelsTooltips @abstract Tooltip text associated with the menu items.

func (*ICScannerFeatureEnumeration) SetCurrentValue

func (o *ICScannerFeatureEnumeration) SetCurrentValue(currentValue objc.ID)

func (*ICScannerFeatureEnumeration) Values

@property values @abstract An array of possible values. All items in this array must be of same type.

type ICScannerFeatureRange

type ICScannerFeatureRange struct {
	ICScannerFeature
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeaturerange

func ICScannerFeatureRangeFromID

func ICScannerFeatureRangeFromID(id objc.ID) *ICScannerFeatureRange

func (*ICScannerFeatureRange) CurrentValue

func (o *ICScannerFeatureRange) CurrentValue() float64

@property currentValue @abstract The current value. Attempting to set the current value to a value that is not coincident with a step will result in a value corresponding to the nearest step being assigned to the current value.

func (*ICScannerFeatureRange) DefaultValue

func (o *ICScannerFeatureRange) DefaultValue() float64

@property defaultValue @abstract The default value. Attempting to set the default value to a value that is not coincident with a step will result in a value corresponding to the nearest step being assigned to the default value.

func (*ICScannerFeatureRange) MaxValue

func (o *ICScannerFeatureRange) MaxValue() float64

@property maxValue @abstract The maximum value.

func (*ICScannerFeatureRange) MinValue

func (o *ICScannerFeatureRange) MinValue() float64

@property minValue @abstract The minimum value.

func (*ICScannerFeatureRange) SetCurrentValue

func (o *ICScannerFeatureRange) SetCurrentValue(currentValue float64)

func (*ICScannerFeatureRange) StepSize

func (o *ICScannerFeatureRange) StepSize() float64

@property stepSize @abstract The step size.

type ICScannerFeatureTemplate

type ICScannerFeatureTemplate struct {
	ICScannerFeature
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeaturetemplate

func ICScannerFeatureTemplateFromID

func ICScannerFeatureTemplateFromID(id objc.ID) *ICScannerFeatureTemplate

func (*ICScannerFeatureTemplate) Targets

type ICScannerFeatureType

type ICScannerFeatureType uint64
const (
	ICScannerFeatureTypeEnumeration ICScannerFeatureType = 0
	ICScannerFeatureTypeRange       ICScannerFeatureType = 1
	ICScannerFeatureTypeBoolean     ICScannerFeatureType = 2
	ICScannerFeatureTypeTemplate    ICScannerFeatureType = 3
)

func (ICScannerFeatureType) String

func (e ICScannerFeatureType) String() string

type ICScannerFunctionalUnit

type ICScannerFunctionalUnit struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunit

func ICScannerFunctionalUnitFromID

func ICScannerFunctionalUnitFromID(id objc.ID) *ICScannerFunctionalUnit

func (*ICScannerFunctionalUnit) AcceptsThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) AcceptsThresholdForBlackAndWhiteScanning() bool

@property acceptsThresholdForBlackAndWhiteScanning @abstract Indicates if this functional unit accepts threshold value to be used when performing a scan in black & white.

func (*ICScannerFunctionalUnit) BitDepth

@property bitDepth @abstract The bit depth to use when performing the final scan. This will always be one of the supported bit depths.

func (*ICScannerFunctionalUnit) CanPerformOverviewScan

func (o *ICScannerFunctionalUnit) CanPerformOverviewScan() bool

@property canPerformOverviewScan @abstract Indicates if this functional unit can perfrom an overview scan. Not all functional units can perform an overview scan. For example, a document feeder or a sheet feeder unit cannot perform an overview scan.

func (*ICScannerFunctionalUnit) DefaultThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) DefaultThresholdForBlackAndWhiteScanning() uint8

@property defaultThresholdForBlackAndWhiteScanning @abstract Default threshold value used when performing a scan in black & white. This value is from 0 to 255.

func (*ICScannerFunctionalUnit) MeasurementUnit

@property measurementUnit @abstract Current measurement unit. This will always be one of the supported measurement units.

func (*ICScannerFunctionalUnit) NativeXResolution

func (o *ICScannerFunctionalUnit) NativeXResolution() uint

@property nativeXResolution @abstract Optical resolution along the X axis.

func (*ICScannerFunctionalUnit) NativeYResolution

func (o *ICScannerFunctionalUnit) NativeYResolution() uint

@property nativeYResolution @abstract Optical resolution along the Y axis.

func (*ICScannerFunctionalUnit) OverviewImage

func (o *ICScannerFunctionalUnit) OverviewImage() unsafe.Pointer

@property overviewImage @abstract Overview scan image. This property will be NULL for functional units that do not support overview scans.

func (*ICScannerFunctionalUnit) OverviewResolution

func (o *ICScannerFunctionalUnit) OverviewResolution() uint

@property overviewResolution @abstract Overview image resolution. Value assigned to this will be contrained by resolutions allowed by the device.

func (*ICScannerFunctionalUnit) OverviewScanInProgress

func (o *ICScannerFunctionalUnit) OverviewScanInProgress() bool

@property overviewScanInProgress @abstract Indicates if an overview scan is in progress.

func (*ICScannerFunctionalUnit) PhysicalSize

func (o *ICScannerFunctionalUnit) PhysicalSize() corefoundation.CGSize

@property physicalSize @abstract Physical size of the scan area in current measurement unit.

func (*ICScannerFunctionalUnit) PixelDataType

@property pixelDataType @abstract The pixel data type.

func (*ICScannerFunctionalUnit) PreferredResolutions

func (o *ICScannerFunctionalUnit) PreferredResolutions() *foundation.NSIndexSet

@property preferredResolutions @abstract Preferred scan resolutions in DPI.

func (*ICScannerFunctionalUnit) PreferredScaleFactors

func (o *ICScannerFunctionalUnit) PreferredScaleFactors() *foundation.NSIndexSet

@property preferredScaleFactors @abstract Preferred scale factors in percentage.

func (*ICScannerFunctionalUnit) Resolution

func (o *ICScannerFunctionalUnit) Resolution() uint

@property resolution @abstract Current scan resolution. This will always be one of the supported resolution values.

func (*ICScannerFunctionalUnit) ScaleFactor

func (o *ICScannerFunctionalUnit) ScaleFactor() uint

@property scaleFactor @abstract Current scale factor. This will always be one of the supported scale factor values.

func (*ICScannerFunctionalUnit) ScanArea

@property scanArea @abstract This property along with scanAreaOrientation describes the area to be scanned.

func (*ICScannerFunctionalUnit) ScanAreaOrientation

func (o *ICScannerFunctionalUnit) ScanAreaOrientation() ICEXIFOrientationType

@property scanAreaOrientation @abstract Desired orientation of the scan area. This property along with scanArea describes the area to be scanned. @discussion This property is set to ICEXIFOrientation1 initially. This property is not used by the ICScannerFunctionalUnitDocumentFeeder subclass.

func (*ICScannerFunctionalUnit) ScanInProgress

func (o *ICScannerFunctionalUnit) ScanInProgress() bool

@property scanInProgress @abstract Indicates if a scan is in progress.

func (*ICScannerFunctionalUnit) ScanProgressPercentDone

func (o *ICScannerFunctionalUnit) ScanProgressPercentDone() float64

@property scanProgressPercentDone @abstract Indicates percentage of scan completed.

func (*ICScannerFunctionalUnit) SetBitDepth

func (o *ICScannerFunctionalUnit) SetBitDepth(bitDepth ICScannerBitDepth)

func (*ICScannerFunctionalUnit) SetMeasurementUnit

func (o *ICScannerFunctionalUnit) SetMeasurementUnit(measurementUnit ICScannerMeasurementUnit)

func (*ICScannerFunctionalUnit) SetOverviewResolution

func (o *ICScannerFunctionalUnit) SetOverviewResolution(overviewResolution uint)

func (*ICScannerFunctionalUnit) SetPixelDataType

func (o *ICScannerFunctionalUnit) SetPixelDataType(pixelDataType ICScannerPixelDataType)

func (*ICScannerFunctionalUnit) SetResolution

func (o *ICScannerFunctionalUnit) SetResolution(resolution uint)

func (*ICScannerFunctionalUnit) SetScaleFactor

func (o *ICScannerFunctionalUnit) SetScaleFactor(scaleFactor uint)

func (*ICScannerFunctionalUnit) SetScanArea

func (o *ICScannerFunctionalUnit) SetScanArea(scanArea corefoundation.CGRect)

func (*ICScannerFunctionalUnit) SetScanAreaOrientation

func (o *ICScannerFunctionalUnit) SetScanAreaOrientation(scanAreaOrientation ICEXIFOrientationType)

func (*ICScannerFunctionalUnit) SetThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) SetThresholdForBlackAndWhiteScanning(thresholdForBlackAndWhiteScanning uint8)

func (*ICScannerFunctionalUnit) SetUsesThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) SetUsesThresholdForBlackAndWhiteScanning(usesThresholdForBlackAndWhiteScanning bool)

func (*ICScannerFunctionalUnit) State

@property state @abstract Indicates the current state of the functional unit.

func (*ICScannerFunctionalUnit) SupportedBitDepths

func (o *ICScannerFunctionalUnit) SupportedBitDepths() *foundation.NSIndexSet

@property supportedBitDepths @abstract Supported bit depths. The values in this set are valid values defined by ICScannerBitDepth.

func (*ICScannerFunctionalUnit) SupportedMeasurementUnits

func (o *ICScannerFunctionalUnit) SupportedMeasurementUnits() *foundation.NSIndexSet

@property supportedMeasurementUnits @abstract Supported measurement units. The values in this set are valid values defined by ICScannerMeasurementUnit.

func (*ICScannerFunctionalUnit) SupportedResolutions

func (o *ICScannerFunctionalUnit) SupportedResolutions() *foundation.NSIndexSet

@property supportedResolutions @abstract Supported scan resolutions in DPI.

func (*ICScannerFunctionalUnit) SupportedScaleFactors

func (o *ICScannerFunctionalUnit) SupportedScaleFactors() *foundation.NSIndexSet

@property supportedScaleFactors @abstract Supported scale factors in percentage.

func (*ICScannerFunctionalUnit) Templates

@property templates @abstract An array of objects of type ICScannerFeatureTemplate.

func (*ICScannerFunctionalUnit) ThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) ThresholdForBlackAndWhiteScanning() uint8

@property thresholdForBlackAndWhiteScanning @abstract Threshold value to be used when performing a scan in black & white. This value should be from 0 to 255.

func (*ICScannerFunctionalUnit) Type

@property type @abstract Functional unit type.

func (*ICScannerFunctionalUnit) UsesThresholdForBlackAndWhiteScanning

func (o *ICScannerFunctionalUnit) UsesThresholdForBlackAndWhiteScanning() bool

@property usesThresholdForBlackAndWhiteScanning @abstract Indicates if this functional unit uses threshold value to be used when performing a scan in black & white.

func (*ICScannerFunctionalUnit) VendorFeatures

@property vendorFeatures @abstract An array of objects of type ICScannerFeature.

type ICScannerFunctionalUnitDocumentFeeder

type ICScannerFunctionalUnitDocumentFeeder struct {
	ICScannerFunctionalUnit
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitdocumentfeeder

func ICScannerFunctionalUnitDocumentFeederFromID

func ICScannerFunctionalUnitDocumentFeederFromID(id objc.ID) *ICScannerFunctionalUnitDocumentFeeder

func (*ICScannerFunctionalUnitDocumentFeeder) DocumentLoaded

func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentLoaded() bool

@property documentLoaded @abstract Indicates whether the feeder has documents to scan. @discussion This value will change when the document is loaded or removed from the feeder, if the scanner module has the capability to detect this state.

func (*ICScannerFunctionalUnitDocumentFeeder) DocumentSize

@property documentSize @abstract Document size of the current document type expressed in current measurement unit.

func (*ICScannerFunctionalUnitDocumentFeeder) DocumentType

@property documentType @abstract Current document type. This will always be one of the supported document types.

func (*ICScannerFunctionalUnitDocumentFeeder) DuplexScanningEnabled

func (o *ICScannerFunctionalUnitDocumentFeeder) DuplexScanningEnabled() bool

@property duplexScanningEnabled @abstract Indicates whether duplex scanning is enabled.

func (*ICScannerFunctionalUnitDocumentFeeder) EvenPageOrientation

@property evenPageOrientation @abstract Desired orientation of the even pages of the scanned document. @discussion This property is set to ICEXIFOrientation1 initially.

func (*ICScannerFunctionalUnitDocumentFeeder) OddPageOrientation

@property oddPageOrientation @abstract Desired orientation of the odd pages of the scanned document. @discussion This property is set to ICEXIFOrientation1 initially.

func (*ICScannerFunctionalUnitDocumentFeeder) ReverseFeederPageOrder

func (o *ICScannerFunctionalUnitDocumentFeeder) ReverseFeederPageOrder() bool

@property reverseFeederPageOrder @abstract Indicates whether the document feeder reads pages from back to front.

func (*ICScannerFunctionalUnitDocumentFeeder) SetDocumentType

func (o *ICScannerFunctionalUnitDocumentFeeder) SetDocumentType(documentType ICScannerDocumentType)

func (*ICScannerFunctionalUnitDocumentFeeder) SetDuplexScanningEnabled

func (o *ICScannerFunctionalUnitDocumentFeeder) SetDuplexScanningEnabled(duplexScanningEnabled bool)

func (*ICScannerFunctionalUnitDocumentFeeder) SetEvenPageOrientation

func (o *ICScannerFunctionalUnitDocumentFeeder) SetEvenPageOrientation(evenPageOrientation ICEXIFOrientationType)

func (*ICScannerFunctionalUnitDocumentFeeder) SetOddPageOrientation

func (o *ICScannerFunctionalUnitDocumentFeeder) SetOddPageOrientation(oddPageOrientation ICEXIFOrientationType)

func (*ICScannerFunctionalUnitDocumentFeeder) SupportedDocumentTypes

func (o *ICScannerFunctionalUnitDocumentFeeder) SupportedDocumentTypes() *foundation.NSIndexSet

@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.

func (*ICScannerFunctionalUnitDocumentFeeder) SupportsDuplexScanning

func (o *ICScannerFunctionalUnitDocumentFeeder) SupportsDuplexScanning() bool

@property supportsDuplexScanning @abstract Indicates whether duplex scanning is supported.

type ICScannerFunctionalUnitFlatbed

type ICScannerFunctionalUnitFlatbed struct {
	ICScannerFunctionalUnit
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitflatbed

func ICScannerFunctionalUnitFlatbedFromID

func ICScannerFunctionalUnitFlatbedFromID(id objc.ID) *ICScannerFunctionalUnitFlatbed

func (*ICScannerFunctionalUnitFlatbed) DocumentSize

@property documentSize @abstract Document size of the current document type expressed in current measurement unit.

func (*ICScannerFunctionalUnitFlatbed) DocumentType

@property documentType @abstract Current document type. This will always be one of the supported document types.

func (*ICScannerFunctionalUnitFlatbed) SetDocumentType

func (o *ICScannerFunctionalUnitFlatbed) SetDocumentType(documentType ICScannerDocumentType)

func (*ICScannerFunctionalUnitFlatbed) SupportedDocumentTypes

func (o *ICScannerFunctionalUnitFlatbed) SupportedDocumentTypes() *foundation.NSIndexSet

@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.

type ICScannerFunctionalUnitNegativeTransparency

type ICScannerFunctionalUnitNegativeTransparency struct {
	ICScannerFunctionalUnit
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitnegativetransparency

func ICScannerFunctionalUnitNegativeTransparencyFromID

func ICScannerFunctionalUnitNegativeTransparencyFromID(id objc.ID) *ICScannerFunctionalUnitNegativeTransparency

func (*ICScannerFunctionalUnitNegativeTransparency) DocumentSize

@property documentSize @abstract Document size of the current document type expressed in current measurement unit.

func (*ICScannerFunctionalUnitNegativeTransparency) DocumentType

@property documentType @abstract Current document type. This will always be one of the supported document types.

func (*ICScannerFunctionalUnitNegativeTransparency) SetDocumentType

func (o *ICScannerFunctionalUnitNegativeTransparency) SetDocumentType(documentType ICScannerDocumentType)

func (*ICScannerFunctionalUnitNegativeTransparency) SupportedDocumentTypes

@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.

type ICScannerFunctionalUnitPositiveTransparency

type ICScannerFunctionalUnitPositiveTransparency struct {
	ICScannerFunctionalUnit
}

Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitpositivetransparency

func ICScannerFunctionalUnitPositiveTransparencyFromID

func ICScannerFunctionalUnitPositiveTransparencyFromID(id objc.ID) *ICScannerFunctionalUnitPositiveTransparency

func (*ICScannerFunctionalUnitPositiveTransparency) DocumentSize

@property documentSize @abstract Document size of the current document type expressed in current measurement unit.

func (*ICScannerFunctionalUnitPositiveTransparency) DocumentType

@property documentType @abstract Current document type. This will always be one of the supported document types.

func (*ICScannerFunctionalUnitPositiveTransparency) SetDocumentType

func (o *ICScannerFunctionalUnitPositiveTransparency) SetDocumentType(documentType ICScannerDocumentType)

func (*ICScannerFunctionalUnitPositiveTransparency) SupportedDocumentTypes

@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.

type ICScannerFunctionalUnitState

type ICScannerFunctionalUnitState uint64
const (
	ICScannerFunctionalUnitStateReady                  ICScannerFunctionalUnitState = 1
	ICScannerFunctionalUnitStateScanInProgress         ICScannerFunctionalUnitState = 2
	ICScannerFunctionalUnitStateOverviewScanInProgress ICScannerFunctionalUnitState = 4
)

func (ICScannerFunctionalUnitState) String

type ICScannerFunctionalUnitType

type ICScannerFunctionalUnitType uint64
const (
	ICScannerFunctionalUnitTypeFlatbed              ICScannerFunctionalUnitType = 0
	ICScannerFunctionalUnitTypePositiveTransparency ICScannerFunctionalUnitType = 1
	ICScannerFunctionalUnitTypeNegativeTransparency ICScannerFunctionalUnitType = 2
	ICScannerFunctionalUnitTypeDocumentFeeder       ICScannerFunctionalUnitType = 3
)

func (ICScannerFunctionalUnitType) String

type ICScannerMeasurementUnit

type ICScannerMeasurementUnit uint64
const (
	ICScannerMeasurementUnitInches      ICScannerMeasurementUnit = 0
	ICScannerMeasurementUnitCentimeters ICScannerMeasurementUnit = 1
	ICScannerMeasurementUnitPicas       ICScannerMeasurementUnit = 2
	ICScannerMeasurementUnitPoints      ICScannerMeasurementUnit = 3
	ICScannerMeasurementUnitTwips       ICScannerMeasurementUnit = 4
	ICScannerMeasurementUnitPixels      ICScannerMeasurementUnit = 5
)

func (ICScannerMeasurementUnit) String

func (e ICScannerMeasurementUnit) String() string

type ICScannerPixelDataType

type ICScannerPixelDataType uint64
const (
	ICScannerPixelDataTypeBW      ICScannerPixelDataType = 0
	ICScannerPixelDataTypeGray    ICScannerPixelDataType = 1
	ICScannerPixelDataTypeRGB     ICScannerPixelDataType = 2
	ICScannerPixelDataTypePalette ICScannerPixelDataType = 3
	ICScannerPixelDataTypeCMY     ICScannerPixelDataType = 4
	ICScannerPixelDataTypeCMYK    ICScannerPixelDataType = 5
	ICScannerPixelDataTypeYUV     ICScannerPixelDataType = 6
	ICScannerPixelDataTypeYUVK    ICScannerPixelDataType = 7
	ICScannerPixelDataTypeCIEXYZ  ICScannerPixelDataType = 8
)

func (ICScannerPixelDataType) String

func (e ICScannerPixelDataType) String() string

type ICScannerTransferMode

type ICScannerTransferMode uint64
const (
	ICScannerTransferModeFileBased   ICScannerTransferMode = 0
	ICScannerTransferModeMemoryBased ICScannerTransferMode = 1
)

func (ICScannerTransferMode) String

func (e ICScannerTransferMode) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_unfair_lock_flags_t

type Os_unfair_lock_flags_t int64
const (
	OS_UNFAIR_LOCK_FLAG_NONE          Os_unfair_lock_flags_t = 0
	OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144
)

func (Os_unfair_lock_flags_t) String

func (e Os_unfair_lock_flags_t) String() string

type PMPageToPaperMappingType

type PMPageToPaperMappingType int64
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL