Documentation
¶
Overview ¶
Package imagecapturecore provides purego-based Go bindings for the macOS ImageCaptureCore framework.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore
Index ¶
- func ICButtonTypeCopy() uintptr
- func ICButtonTypeMail() uintptr
- func ICButtonTypePrint() uintptr
- func ICButtonTypeScan() uintptr
- func ICButtonTypeTransfer() uintptr
- func ICButtonTypeWeb() uintptr
- func ICCameraDeviceCanAcceptPTPCommands() *foundation.NSString
- func ICCameraDeviceCanDeleteAllFiles() *foundation.NSString
- func ICCameraDeviceCanDeleteOneFile() *foundation.NSString
- func ICCameraDeviceCanReceiveFile() *foundation.NSString
- func ICCameraDeviceCanSyncClock() *foundation.NSString
- func ICCameraDeviceCanTakePicture() *foundation.NSString
- func ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera() *foundation.NSString
- func ICCameraDeviceSupportsHEIF() *foundation.NSString
- func ICCameraFileFingerprintForFileAtURL(url *foundation.NSURL) *foundation.NSString
- func ICDeleteAfterSuccessfulDownload() *foundation.NSString
- func ICDeleteCanceled() *foundation.NSString
- func ICDeleteErrorCanceled() *foundation.NSString
- func ICDeleteErrorDeviceMissing() *foundation.NSString
- func ICDeleteErrorFileMissing() *foundation.NSString
- func ICDeleteErrorReadOnly() *foundation.NSString
- func ICDeleteFailed() *foundation.NSString
- func ICDeleteSuccessful() *foundation.NSString
- func ICDeviceCanEjectOrDisconnect() *foundation.NSString
- func ICDeviceLocationDescriptionBluetooth() *foundation.NSString
- func ICDeviceLocationDescriptionFireWire() *foundation.NSString
- func ICDeviceLocationDescriptionMassStorage() *foundation.NSString
- func ICDeviceLocationDescriptionUSB() *foundation.NSString
- func ICDownloadSidecarFiles() *foundation.NSString
- func ICDownloadsDirectoryURL() *foundation.NSString
- func ICEnumerationChronologicalOrder() *foundation.NSString
- func ICErrorDomain() *foundation.NSString
- func ICImageSourceShouldCache() *foundation.NSString
- func ICImageSourceThumbnailMaxPixelSize() *foundation.NSString
- func ICLocalizedStatusNotificationKey() uintptr
- func ICOverwrite() *foundation.NSString
- func ICRunLoopMode() *foundation.NSString
- func ICSaveAsFilename() *foundation.NSString
- func ICSavedAncillaryFiles() *foundation.NSString
- func ICSavedFilename() *foundation.NSString
- func ICScannerStatusRequestsOverviewScan() uintptr
- func ICScannerStatusWarmUpDone() uintptr
- func ICScannerStatusWarmingUp() uintptr
- func ICStatusCodeKey() uintptr
- func ICStatusNotificationKey() *foundation.NSString
- func ICTransportTypeBluetooth() uintptr
- func ICTransportTypeFireWire() uintptr
- func ICTransportTypeMassStorage() *foundation.NSString
- func ICTransportTypeProximity() *foundation.NSString
- func ICTransportTypeTCPIP() *foundation.NSString
- func ICTransportTypeUSB() *foundation.NSString
- func ICTruncateAfterSuccessfulDownload() *foundation.NSString
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type CGLCPContextPriorityRequest
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type ICCameraDevice
- func (o *ICCameraDevice) BatteryLevel() uint
- func (o *ICCameraDevice) BatteryLevelAvailable() bool
- func (o *ICCameraDevice) CancelDelete()
- func (o *ICCameraDevice) CancelDownload()
- func (o *ICCameraDevice) ContentCatalogPercentCompleted() uint
- func (o *ICCameraDevice) Contents() *foundation.NSArray[*ICCameraItem]
- func (o *ICCameraDevice) FilesOfType(fileUTType *foundation.NSString) *foundation.NSArray[*foundation.NSString]
- func (o *ICCameraDevice) ICloudPhotosEnabled() bool
- func (o *ICCameraDevice) IsAccessRestrictedAppleDevice() bool
- func (o *ICCameraDevice) IsEjectable() bool
- func (o *ICCameraDevice) IsLocked() bool
- func (o *ICCameraDevice) MediaFiles() *foundation.NSArray[*ICCameraItem]
- func (o *ICCameraDevice) MediaPresentation() ICMediaPresentation
- func (o *ICCameraDevice) MountPoint() unsafe.Pointer
- func (o *ICCameraDevice) PtpEventHandler() objc.Block
- func (o *ICCameraDevice) RequestDeleteFiles(files *foundation.NSArray[*ICCameraItem])
- func (o *ICCameraDevice) RequestDeleteFilesDeleteFailedCompletion(files *foundation.NSArray[*ICCameraItem], ...) *foundation.NSProgress
- func (o *ICCameraDevice) RequestDisableTethering()
- func (o *ICCameraDevice) RequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo(file *ICCameraFile, ...)
- func (o *ICCameraDevice) RequestEnableTethering()
- func (o *ICCameraDevice) RequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo(file *ICCameraFile, offset int64, length int64, readDelegate objc.ID, ...)
- func (o *ICCameraDevice) RequestSendPTPCommandOutDataCompletion(ptpCommand *foundation.NSData, ptpData *foundation.NSData, ...)
- func (o *ICCameraDevice) RequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo(command *foundation.NSData, data *foundation.NSData, ...)
- func (o *ICCameraDevice) RequestSyncClock()
- func (o *ICCameraDevice) RequestTakePicture()
- func (o *ICCameraDevice) RequestUploadFileOptionsUploadDelegateDidUploadSelectorContextInfo(fileURL *foundation.NSURL, ...)
- func (o *ICCameraDevice) SetMediaPresentation(mediaPresentation ICMediaPresentation)
- func (o *ICCameraDevice) SetPtpEventHandler(ptpEventHandler func(*foundation.NSData))
- func (o *ICCameraDevice) TetheredCaptureEnabled() bool
- func (o *ICCameraDevice) TimeOffset() float64
- type ICCameraDeviceDelegate
- type ICCameraDeviceDownloadDelegate
- type ICCameraFile
- func (o *ICCameraFile) BurstFavorite() bool
- func (o *ICCameraFile) BurstPicked() bool
- func (o *ICCameraFile) BurstUUID() *foundation.NSString
- func (o *ICCameraFile) CreatedFilename() *foundation.NSString
- func (o *ICCameraFile) Duration() float64
- func (o *ICCameraFile) ExifCreationDate() *foundation.NSDate
- func (o *ICCameraFile) ExifModificationDate() *foundation.NSDate
- func (o *ICCameraFile) FileCreationDate() *foundation.NSDate
- func (o *ICCameraFile) FileModificationDate() *foundation.NSDate
- func (o *ICCameraFile) FileSize() int64
- func (o *ICCameraFile) Fingerprint() *foundation.NSString
- func (o *ICCameraFile) FirstPicked() bool
- func (o *ICCameraFile) GpsString() *foundation.NSString
- func (o *ICCameraFile) GroupUUID() *foundation.NSString
- func (o *ICCameraFile) Height() int
- func (o *ICCameraFile) HighFramerate() bool
- func (o *ICCameraFile) Orientation() ICEXIFOrientationType
- func (o *ICCameraFile) OriginalFilename() *foundation.NSString
- func (o *ICCameraFile) OriginatingAssetID() *foundation.NSString
- func (o *ICCameraFile) PairedRawImage() *ICCameraFile
- func (o *ICCameraFile) RelatedUUID() *foundation.NSString
- func (o *ICCameraFile) RequestDownloadWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], ...) *foundation.NSProgress
- func (o *ICCameraFile) RequestFingerprintWithCompletion(completion func(*foundation.NSString, unsafe.Pointer))
- func (o *ICCameraFile) RequestMetadataDictionaryWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], ...)
- func (o *ICCameraFile) RequestReadDataAtOffsetLengthCompletion(offset int64, length int64, ...)
- func (o *ICCameraFile) RequestSecurityScopedURLWithCompletion(completion func(*foundation.NSURL, unsafe.Pointer))
- func (o *ICCameraFile) RequestThumbnailDataWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], ...)
- func (o *ICCameraFile) SetOrientation(orientation ICEXIFOrientationType)
- func (o *ICCameraFile) SidecarFiles() *foundation.NSArray[*ICCameraItem]
- func (o *ICCameraFile) TimeLapse() bool
- func (o *ICCameraFile) Width() int
- type ICCameraFolder
- type ICCameraItem
- func (o *ICCameraItem) CreationDate() *foundation.NSDate
- func (o *ICCameraItem) Device() *ICCameraDevice
- func (o *ICCameraItem) FileSystemPath() unsafe.Pointer
- func (o *ICCameraItem) FlushMetadataCache()
- func (o *ICCameraItem) FlushThumbnailCache()
- func (o *ICCameraItem) IsInTemporaryStore() bool
- func (o *ICCameraItem) IsLocked() bool
- func (o *ICCameraItem) IsRaw() bool
- func (o *ICCameraItem) LargeThumbnailIfAvailable() unsafe.Pointer
- func (o *ICCameraItem) Metadata() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *ICCameraItem) MetadataIfAvailable() unsafe.Pointer
- func (o *ICCameraItem) ModificationDate() *foundation.NSDate
- func (o *ICCameraItem) Name() *foundation.NSString
- func (o *ICCameraItem) ParentFolder() *ICCameraFolder
- func (o *ICCameraItem) PtpObjectHandle() uint
- func (o *ICCameraItem) RequestMetadata()
- func (o *ICCameraItem) RequestThumbnail()
- func (o *ICCameraItem) Thumbnail() unsafe.Pointer
- func (o *ICCameraItem) ThumbnailIfAvailable() unsafe.Pointer
- func (o *ICCameraItem) UTI() *foundation.NSString
- func (o *ICCameraItem) UserData() *foundation.NSMutableDictionary[objc.ID, objc.ID]
- func (o *ICCameraItem) WasAddedAfterContentCatalogCompleted() bool
- type ICDevice
- func (o *ICDevice) AutolaunchApplicationPath() unsafe.Pointer
- func (o *ICDevice) Capabilities() *foundation.NSArray[*foundation.NSString]
- func (o *ICDevice) Delegate() ICDeviceDelegate
- func (o *ICDevice) HasOpenSession() bool
- func (o *ICDevice) Icon() unsafe.Pointer
- func (o *ICDevice) IsRemote() bool
- func (o *ICDevice) LocationDescription() unsafe.Pointer
- func (o *ICDevice) ModuleExecutableArchitecture() int
- func (o *ICDevice) ModulePath() unsafe.Pointer
- func (o *ICDevice) ModuleVersion() unsafe.Pointer
- func (o *ICDevice) Name() *foundation.NSString
- func (o *ICDevice) PersistentIDString() unsafe.Pointer
- func (o *ICDevice) ProductKind() *foundation.NSString
- func (o *ICDevice) RequestCloseSession()
- func (o *ICDevice) RequestCloseSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], ...)
- func (o *ICDevice) RequestEject()
- func (o *ICDevice) RequestEjectOrDisconnect()
- func (o *ICDevice) RequestEjectWithCompletion(completion func(unsafe.Pointer))
- func (o *ICDevice) RequestOpenSession()
- func (o *ICDevice) RequestOpenSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], ...)
- func (o *ICDevice) RequestSendMessageOutDataMaxReturnedDataSizeSendMessageDelegateDidSendMessageSelectorContextInfo(messageCode uint, data *foundation.NSData, maxReturnedDataSize uint, ...)
- func (o *ICDevice) RequestYield()
- func (o *ICDevice) SerialNumberString() unsafe.Pointer
- func (o *ICDevice) SetAutolaunchApplicationPath(autolaunchApplicationPath unsafe.Pointer)
- func (o *ICDevice) SetDelegate(delegate ICDeviceDelegate)
- func (o *ICDevice) SystemSymbolName() *foundation.NSString
- func (o *ICDevice) TransportType() *foundation.NSString
- func (o *ICDevice) Type() ICDeviceType
- func (o *ICDevice) UUIDString() *foundation.NSString
- func (o *ICDevice) UsbLocationID() int
- func (o *ICDevice) UsbProductID() int
- func (o *ICDevice) UsbVendorID() int
- func (o *ICDevice) UserData() *foundation.NSMutableDictionary[objc.ID, objc.ID]
- type ICDeviceBrowser
- func (o *ICDeviceBrowser) BrowsedDeviceTypeMask() ICDeviceTypeMask
- func (o *ICDeviceBrowser) Delegate() ICDeviceBrowserDelegate
- func (o *ICDeviceBrowser) Devices() *foundation.NSArray[*ICDevice]
- func (o *ICDeviceBrowser) Init() *ICDeviceBrowser
- func (o *ICDeviceBrowser) IsBrowsing() bool
- func (o *ICDeviceBrowser) PreferredDevice() unsafe.Pointer
- func (o *ICDeviceBrowser) SetBrowsedDeviceTypeMask(browsedDeviceTypeMask ICDeviceTypeMask)
- func (o *ICDeviceBrowser) SetDelegate(delegate ICDeviceBrowserDelegate)
- func (o *ICDeviceBrowser) Start()
- func (o *ICDeviceBrowser) Stop()
- type ICDeviceBrowserDelegate
- type ICDeviceDelegate
- type ICDeviceLocationType
- type ICDeviceLocationTypeMask
- type ICDeviceType
- type ICDeviceTypeMask
- type ICEXIFOrientationType
- type ICLegacyReturnCode
- type ICMediaPresentation
- type ICReturnCode
- type ICReturnCodeOffset
- type ICReturnConnectionErrorCode
- type ICReturnDownloadErrorCode
- type ICReturnMetadataErrorCode
- type ICReturnObjectErrorCode
- type ICReturnPTPDeviceErrorCode
- type ICReturnThumbnailErrorCode
- type ICScannerBandData
- func (o *ICScannerBandData) BitsPerComponent() uint
- func (o *ICScannerBandData) BitsPerPixel() uint
- func (o *ICScannerBandData) BytesPerRow() uint
- func (o *ICScannerBandData) ColorSyncProfilePath() unsafe.Pointer
- func (o *ICScannerBandData) DataBuffer() unsafe.Pointer
- func (o *ICScannerBandData) DataNumRows() uint
- func (o *ICScannerBandData) DataSize() uint
- func (o *ICScannerBandData) DataStartRow() uint
- func (o *ICScannerBandData) FullImageHeight() uint
- func (o *ICScannerBandData) FullImageWidth() uint
- func (o *ICScannerBandData) IsBigEndian() bool
- func (o *ICScannerBandData) NumComponents() uint
- func (o *ICScannerBandData) PixelDataType() ICScannerPixelDataType
- type ICScannerBitDepth
- type ICScannerColorDataFormatType
- type ICScannerDevice
- func (o *ICScannerDevice) AvailableFunctionalUnitTypes() unsafe.Pointer
- func (o *ICScannerDevice) CancelScan()
- func (o *ICScannerDevice) DefaultUsername() unsafe.Pointer
- func (o *ICScannerDevice) DocumentName() unsafe.Pointer
- func (o *ICScannerDevice) DocumentUTI() unsafe.Pointer
- func (o *ICScannerDevice) DownloadsDirectory() unsafe.Pointer
- func (o *ICScannerDevice) MaxMemoryBandSize() uint
- func (o *ICScannerDevice) RequestOpenSessionWithCredentialsPassword(username *foundation.NSString, password *foundation.NSString)
- func (o *ICScannerDevice) RequestOverviewScan()
- func (o *ICScannerDevice) RequestScan()
- func (o *ICScannerDevice) RequestSelectFunctionalUnit(type_ ICScannerFunctionalUnitType)
- func (o *ICScannerDevice) SelectedFunctionalUnit() unsafe.Pointer
- func (o *ICScannerDevice) SetDefaultUsername(defaultUsername unsafe.Pointer)
- func (o *ICScannerDevice) SetDocumentName(documentName unsafe.Pointer)
- func (o *ICScannerDevice) SetDocumentUTI(documentUTI unsafe.Pointer)
- func (o *ICScannerDevice) SetDownloadsDirectory(downloadsDirectory unsafe.Pointer)
- func (o *ICScannerDevice) SetMaxMemoryBandSize(maxMemoryBandSize uint)
- func (o *ICScannerDevice) SetTransferMode(transferMode ICScannerTransferMode)
- func (o *ICScannerDevice) TransferMode() ICScannerTransferMode
- type ICScannerDeviceDelegate
- type ICScannerDocumentType
- type ICScannerFeature
- type ICScannerFeatureBoolean
- type ICScannerFeatureEnumeration
- func (o *ICScannerFeatureEnumeration) CurrentValue() objc.ID
- func (o *ICScannerFeatureEnumeration) DefaultValue() objc.ID
- func (o *ICScannerFeatureEnumeration) MenuItemLabels() *foundation.NSArray[*foundation.NSString]
- func (o *ICScannerFeatureEnumeration) MenuItemLabelsTooltips() *foundation.NSArray[*foundation.NSString]
- func (o *ICScannerFeatureEnumeration) SetCurrentValue(currentValue objc.ID)
- func (o *ICScannerFeatureEnumeration) Values() *foundation.NSArray[*foundation.NSNumber]
- type ICScannerFeatureRange
- func (o *ICScannerFeatureRange) CurrentValue() float64
- func (o *ICScannerFeatureRange) DefaultValue() float64
- func (o *ICScannerFeatureRange) MaxValue() float64
- func (o *ICScannerFeatureRange) MinValue() float64
- func (o *ICScannerFeatureRange) SetCurrentValue(currentValue float64)
- func (o *ICScannerFeatureRange) StepSize() float64
- type ICScannerFeatureTemplate
- type ICScannerFeatureType
- type ICScannerFunctionalUnit
- func (o *ICScannerFunctionalUnit) AcceptsThresholdForBlackAndWhiteScanning() bool
- func (o *ICScannerFunctionalUnit) BitDepth() ICScannerBitDepth
- func (o *ICScannerFunctionalUnit) CanPerformOverviewScan() bool
- func (o *ICScannerFunctionalUnit) DefaultThresholdForBlackAndWhiteScanning() uint8
- func (o *ICScannerFunctionalUnit) MeasurementUnit() ICScannerMeasurementUnit
- func (o *ICScannerFunctionalUnit) NativeXResolution() uint
- func (o *ICScannerFunctionalUnit) NativeYResolution() uint
- func (o *ICScannerFunctionalUnit) OverviewImage() unsafe.Pointer
- func (o *ICScannerFunctionalUnit) OverviewResolution() uint
- func (o *ICScannerFunctionalUnit) OverviewScanInProgress() bool
- func (o *ICScannerFunctionalUnit) PhysicalSize() corefoundation.CGSize
- func (o *ICScannerFunctionalUnit) PixelDataType() ICScannerPixelDataType
- func (o *ICScannerFunctionalUnit) PreferredResolutions() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) PreferredScaleFactors() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) Resolution() uint
- func (o *ICScannerFunctionalUnit) ScaleFactor() uint
- func (o *ICScannerFunctionalUnit) ScanArea() corefoundation.CGRect
- func (o *ICScannerFunctionalUnit) ScanAreaOrientation() ICEXIFOrientationType
- func (o *ICScannerFunctionalUnit) ScanInProgress() bool
- func (o *ICScannerFunctionalUnit) ScanProgressPercentDone() float64
- func (o *ICScannerFunctionalUnit) SetBitDepth(bitDepth ICScannerBitDepth)
- func (o *ICScannerFunctionalUnit) SetMeasurementUnit(measurementUnit ICScannerMeasurementUnit)
- func (o *ICScannerFunctionalUnit) SetOverviewResolution(overviewResolution uint)
- func (o *ICScannerFunctionalUnit) SetPixelDataType(pixelDataType ICScannerPixelDataType)
- func (o *ICScannerFunctionalUnit) SetResolution(resolution uint)
- func (o *ICScannerFunctionalUnit) SetScaleFactor(scaleFactor uint)
- func (o *ICScannerFunctionalUnit) SetScanArea(scanArea corefoundation.CGRect)
- func (o *ICScannerFunctionalUnit) SetScanAreaOrientation(scanAreaOrientation ICEXIFOrientationType)
- func (o *ICScannerFunctionalUnit) SetThresholdForBlackAndWhiteScanning(thresholdForBlackAndWhiteScanning uint8)
- func (o *ICScannerFunctionalUnit) SetUsesThresholdForBlackAndWhiteScanning(usesThresholdForBlackAndWhiteScanning bool)
- func (o *ICScannerFunctionalUnit) State() ICScannerFunctionalUnitState
- func (o *ICScannerFunctionalUnit) SupportedBitDepths() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) SupportedMeasurementUnits() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) SupportedResolutions() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) SupportedScaleFactors() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnit) Templates() *foundation.NSArray[*ICScannerFeatureTemplate]
- func (o *ICScannerFunctionalUnit) ThresholdForBlackAndWhiteScanning() uint8
- func (o *ICScannerFunctionalUnit) Type() ICScannerFunctionalUnitType
- func (o *ICScannerFunctionalUnit) UsesThresholdForBlackAndWhiteScanning() bool
- func (o *ICScannerFunctionalUnit) VendorFeatures() *foundation.NSArray[*ICScannerFeature]
- type ICScannerFunctionalUnitDocumentFeeder
- func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentLoaded() bool
- func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentSize() corefoundation.CGSize
- func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentType() ICScannerDocumentType
- func (o *ICScannerFunctionalUnitDocumentFeeder) DuplexScanningEnabled() bool
- func (o *ICScannerFunctionalUnitDocumentFeeder) EvenPageOrientation() ICEXIFOrientationType
- func (o *ICScannerFunctionalUnitDocumentFeeder) OddPageOrientation() ICEXIFOrientationType
- func (o *ICScannerFunctionalUnitDocumentFeeder) ReverseFeederPageOrder() bool
- func (o *ICScannerFunctionalUnitDocumentFeeder) SetDocumentType(documentType ICScannerDocumentType)
- func (o *ICScannerFunctionalUnitDocumentFeeder) SetDuplexScanningEnabled(duplexScanningEnabled bool)
- func (o *ICScannerFunctionalUnitDocumentFeeder) SetEvenPageOrientation(evenPageOrientation ICEXIFOrientationType)
- func (o *ICScannerFunctionalUnitDocumentFeeder) SetOddPageOrientation(oddPageOrientation ICEXIFOrientationType)
- func (o *ICScannerFunctionalUnitDocumentFeeder) SupportedDocumentTypes() *foundation.NSIndexSet
- func (o *ICScannerFunctionalUnitDocumentFeeder) SupportsDuplexScanning() bool
- type ICScannerFunctionalUnitFlatbed
- func (o *ICScannerFunctionalUnitFlatbed) DocumentSize() corefoundation.CGSize
- func (o *ICScannerFunctionalUnitFlatbed) DocumentType() ICScannerDocumentType
- func (o *ICScannerFunctionalUnitFlatbed) SetDocumentType(documentType ICScannerDocumentType)
- func (o *ICScannerFunctionalUnitFlatbed) SupportedDocumentTypes() *foundation.NSIndexSet
- type ICScannerFunctionalUnitNegativeTransparency
- func (o *ICScannerFunctionalUnitNegativeTransparency) DocumentSize() corefoundation.CGSize
- func (o *ICScannerFunctionalUnitNegativeTransparency) DocumentType() ICScannerDocumentType
- func (o *ICScannerFunctionalUnitNegativeTransparency) SetDocumentType(documentType ICScannerDocumentType)
- func (o *ICScannerFunctionalUnitNegativeTransparency) SupportedDocumentTypes() *foundation.NSIndexSet
- type ICScannerFunctionalUnitPositiveTransparency
- func (o *ICScannerFunctionalUnitPositiveTransparency) DocumentSize() corefoundation.CGSize
- func (o *ICScannerFunctionalUnitPositiveTransparency) DocumentType() ICScannerDocumentType
- func (o *ICScannerFunctionalUnitPositiveTransparency) SetDocumentType(documentType ICScannerDocumentType)
- func (o *ICScannerFunctionalUnitPositiveTransparency) SupportedDocumentTypes() *foundation.NSIndexSet
- type ICScannerFunctionalUnitState
- type ICScannerFunctionalUnitType
- type ICScannerMeasurementUnit
- type ICScannerPixelDataType
- type ICScannerTransferMode
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type Os_unfair_lock_flags_t
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
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() *foundation.NSString
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_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 ¶
func (e CGLCPContextPriorityRequest) 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 ¶
func (e Dispatch_autorelease_frequency_t) String() 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 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
}
An object that represents a camera.
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()
Cancels the current delete operation.
func (*ICCameraDevice) CancelDownload ¶
func (o *ICCameraDevice) CancelDownload()
Cancels a download from the camera.
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]
Returns an array of files of the selected type on the camera.
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])
Deletes files from the camera.
func (*ICCameraDevice) RequestDeleteFilesDeleteFailedCompletion ¶
func (o *ICCameraDevice) RequestDeleteFilesDeleteFailedCompletion(files *foundation.NSArray[*ICCameraItem], deleteFailed func(*foundation.NSDictionary[*foundation.NSString, *ICCameraItem]), completion func(*foundation.NSDictionary[*foundation.NSString, objc.ID], unsafe.Pointer)) *foundation.NSProgress
Deletes files from the camera, with the ability to catch failures and execute a completion block.
func (*ICCameraDevice) RequestDisableTethering ¶
func (o *ICCameraDevice) RequestDisableTethering()
Disables tethered capture on the camera.
func (*ICCameraDevice) RequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo ¶
func (o *ICCameraDevice) RequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo(file *ICCameraFile, options *foundation.NSDictionary[*foundation.NSString, objc.ID], downloadDelegate ICCameraDeviceDownloadDelegate, selector objc.SEL, contextInfo unsafe.Pointer)
Downloads a file from the camera.
func (*ICCameraDevice) RequestEnableTethering ¶
func (o *ICCameraDevice) RequestEnableTethering()
Enables tethered capture if the camera has the capability to take pictures while connected.
func (*ICCameraDevice) RequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo ¶
func (o *ICCameraDevice) RequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo(file *ICCameraFile, offset int64, length int64, readDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)
Asynchronously reads data of a specified length from a specified offset.
func (*ICCameraDevice) RequestSendPTPCommandOutDataCompletion ¶
func (o *ICCameraDevice) RequestSendPTPCommandOutDataCompletion(ptpCommand *foundation.NSData, ptpData *foundation.NSData, completion func(*foundation.NSData, *foundation.NSData, unsafe.Pointer))
Sends a Picture Transfer Protocol (PTP) command to a camera asynchronously.
func (*ICCameraDevice) RequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo ¶
func (o *ICCameraDevice) RequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo(command *foundation.NSData, data *foundation.NSData, sendCommandDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)
Sends a Picture Transfer Protocol (PTP) command to a camera asynchronously.
func (*ICCameraDevice) RequestSyncClock ¶
func (o *ICCameraDevice) RequestSyncClock()
Synchronizes the camera’s clock with the computer’s clock.
func (*ICCameraDevice) RequestTakePicture ¶
func (o *ICCameraDevice) RequestTakePicture()
Captures a new image using the camera.
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)
Uploads a file to the camera.
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
}
An object that represents a file on a camera.
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
Requests a download and executes the completion block in place of the delegate.
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 func(*foundation.NSDictionary[objc.ID, objc.ID], unsafe.Pointer))
Requests metadata and executes the completion block in place of the delegate.
func (*ICCameraFile) RequestReadDataAtOffsetLengthCompletion ¶
func (o *ICCameraFile) RequestReadDataAtOffsetLengthCompletion(offset int64, length int64, completion func(*foundation.NSData, unsafe.Pointer))
Requests to asynchronously read data of a specified length from a specified offset, then executes the completion block.
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))
Requests a thumbnail and executes the completion block in place of the delegate.
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
}
An object that represents a folder on a camera.
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
}
An abstract class that represents a camera item.
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()
Deletes the item’s cached metadata.
func (*ICCameraItem) FlushThumbnailCache ¶
func (o *ICCameraItem) FlushThumbnailCache()
Deletes the item’s cached thumbnail.
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()
Requests metadata for the item.
func (*ICCameraItem) RequestThumbnail ¶
func (o *ICCameraItem) RequestThumbnail()
Requests a thumbnail for the item.
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 ¶
func (o *ICCameraItem) UserData() *foundation.NSMutableDictionary[objc.ID, objc.ID]
@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
}
An abstract object that represents a device.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icdevice
func ICDeviceFromID ¶
func (*ICDevice) AutolaunchApplicationPath ¶
@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 ¶
@property hasOpenSession @abstract Indicates whether the device has an open session.
func (*ICDevice) Icon ¶
@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 ¶
@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 ¶
@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 ¶
@property moduleExecutableArchitecture @abstract Reports the device module servicing the requests executable architecture.
func (*ICDevice) ModulePath ¶
@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 ¶
@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 ¶
@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()
Requests to close an open session on the device.
func (*ICDevice) RequestCloseSessionWithOptionsCompletion ¶
func (o *ICDevice) RequestCloseSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(unsafe.Pointer))
Requests to close an open session on the device, then executes the completion handler.
func (*ICDevice) RequestEject ¶
func (o *ICDevice) RequestEject()
Requests to eject the media if permitted by the device, or to disconnect from a remote device.
func (*ICDevice) RequestEjectOrDisconnect ¶
func (o *ICDevice) RequestEjectOrDisconnect()
Requests to eject the media if permitted by the device, or to disconnect from a remote device.
func (*ICDevice) RequestEjectWithCompletion ¶
Requests to eject the media if permitted by the device, or to disconnect from a remote device, then executes the completion handler.
func (*ICDevice) RequestOpenSession ¶
func (o *ICDevice) RequestOpenSession()
Requests to open a session on the device.
func (*ICDevice) RequestOpenSessionWithOptionsCompletion ¶
func (o *ICDevice) RequestOpenSessionWithOptionsCompletion(options *foundation.NSDictionary[*foundation.NSString, objc.ID], completion func(unsafe.Pointer))
Requests to open a session on the device, then executes the completion handler.
func (*ICDevice) RequestSendMessageOutDataMaxReturnedDataSizeSendMessageDelegateDidSendMessageSelectorContextInfo ¶
func (o *ICDevice) RequestSendMessageOutDataMaxReturnedDataSizeSendMessageDelegateDidSendMessageSelectorContextInfo(messageCode uint, data *foundation.NSData, maxReturnedDataSize uint, sendMessageDelegate objc.ID, selector objc.SEL, contextInfo unsafe.Pointer)
Asynchronously sends an arbitrary message with optional data to a device.
func (*ICDevice) RequestYield ¶
func (o *ICDevice) RequestYield()
Requests that device module in control of this device yield control.
func (*ICDevice) SerialNumberString ¶
@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 (*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 ¶
@property usbLocationID @abstract The USB location of which the device is occupying.
func (*ICDevice) UsbProductID ¶
@property usbProductID @abstract The USB PID associated with the device attached.
func (*ICDevice) UsbVendorID ¶
@property usbVendorID @abstract The USB VID associated with the device attached.
func (*ICDevice) UserData ¶
func (o *ICDevice) UserData() *foundation.NSMutableDictionary[objc.ID, objc.ID]
@property userData @abstract Client convenience bookkeeping object retained by the framework.
type ICDeviceBrowser ¶
type ICDeviceBrowser struct {
foundation.NSObject
}
An object for finding digital cameras and scanners.
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 ¶
func (o *ICDeviceBrowser) Delegate() ICDeviceBrowserDelegate
@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
Creates an ImageCaptureCore device browser.
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()
Tells the delegate to start looking for devices.
func (*ICDeviceBrowser) Stop ¶
func (o *ICDeviceBrowser) Stop()
Tells the delegate to stop looking for devices.
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
The location of the image capture device.
const ( // A device that’s directly attached to the Mac through its USB or FireWire port. ICDeviceLocationTypeLocal ICDeviceLocationType = 256 ICDeviceLocationTypeShared ICDeviceLocationType = 512 // A supported Bonjour services device. ICDeviceLocationTypeBonjour ICDeviceLocationType = 1024 // A paired Bluetooth device. ICDeviceLocationTypeBluetooth ICDeviceLocationType = 2048 )
func (ICDeviceLocationType) String ¶
func (e ICDeviceLocationType) String() string
type ICDeviceLocationTypeMask ¶
type ICDeviceLocationTypeMask uint64
Masks for detecting different device locations.
const ( // A mask for detecting a local device, such as USB or FireWire. ICDeviceLocationTypeMaskLocal ICDeviceLocationTypeMask = 256 ICDeviceLocationTypeMaskShared ICDeviceLocationTypeMask = 512 // A mask for detecting a network device that publishes a Bonjour service. ICDeviceLocationTypeMaskBonjour ICDeviceLocationTypeMask = 1024 // A mask for detecting a paired Bluetooth device. ICDeviceLocationTypeMaskBluetooth ICDeviceLocationTypeMask = 2048 // A mask for detecting a remote device, such as a shared, Bonjour, or Bluetooth device. ICDeviceLocationTypeMaskRemote ICDeviceLocationTypeMask = 65024 )
func (ICDeviceLocationTypeMask) String ¶
func (e ICDeviceLocationTypeMask) String() string
type ICDeviceType ¶
type ICDeviceType uint64
The type of image capture device.
const ( // The device is a camera. ICDeviceTypeCamera ICDeviceType = 1 // The device is a scanner. ICDeviceTypeScanner ICDeviceType = 2 )
func (ICDeviceType) String ¶
func (e ICDeviceType) String() string
type ICDeviceTypeMask ¶
type ICDeviceTypeMask uint64
Masks for detecting different device types.
const ( // A mask for detecting a camera. ICDeviceTypeMaskCamera ICDeviceTypeMask = 1 // A mask for detecting a scanner. ICDeviceTypeMaskScanner ICDeviceTypeMask = 2 )
func (ICDeviceTypeMask) String ¶
func (e ICDeviceTypeMask) String() string
type ICEXIFOrientationType ¶
type ICEXIFOrientationType uint64
The file’s orientation type.
const ( // Normal ICEXIFOrientation1 ICEXIFOrientationType = 1 // Flipped horizontally ICEXIFOrientation2 ICEXIFOrientationType = 2 // Rotated 180° ICEXIFOrientation3 ICEXIFOrientationType = 3 // Flipped vertically ICEXIFOrientation4 ICEXIFOrientationType = 4 // Rotated 90° CCW and flipped vertically ICEXIFOrientation5 ICEXIFOrientationType = 5 // Rotated 90° CCW ICEXIFOrientation6 ICEXIFOrientationType = 6 // Rotated 90° CW and flipped vertically ICEXIFOrientation7 ICEXIFOrientationType = 7 // Rotated 90° CW 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 ¶
func (e ICReturnConnectionErrorCode) String() 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 ¶
func (e ICReturnPTPDeviceErrorCode) String() string
type ICReturnThumbnailErrorCode ¶
type ICReturnThumbnailErrorCode int64
const ( ICReturnThumbnailNotAvailable ICReturnThumbnailErrorCode = -21000 ICReturnThumbnailAlreadyFetching ICReturnThumbnailErrorCode = -20999 ICReturnThumbnailCanceled ICReturnThumbnailErrorCode = -20098 ICReturnThumbnailInvalid ICReturnThumbnailErrorCode = -20097 )
func (ICReturnThumbnailErrorCode) String ¶
func (e ICReturnThumbnailErrorCode) String() string
type ICScannerBandData ¶
type ICScannerBandData struct {
foundation.NSObject
}
The options for each band of data that the scanner reads.
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
The number of bits per channel in the scanned image.
const ( ICScannerBitDepth1Bit ICScannerBitDepth = 1 ICScannerBitDepth8Bits ICScannerBitDepth = 8 ICScannerBitDepth16Bits ICScannerBitDepth = 16 )
func (ICScannerBitDepth) String ¶
func (e ICScannerBitDepth) String() string
type ICScannerColorDataFormatType ¶
type ICScannerColorDataFormatType uint64
The color data formats relevant to multichannel data.
const ( ICScannerColorDataFormatTypeChunky ICScannerColorDataFormatType = 0 ICScannerColorDataFormatTypePlanar ICScannerColorDataFormatType = 1 )
func (ICScannerColorDataFormatType) String ¶
func (e ICScannerColorDataFormatType) String() string
type ICScannerDevice ¶
type ICScannerDevice struct {
ICDevice
}
An object that represents a scanner.
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()
Cancels the current scan.
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)
Opens a session on the protected device with the authorized username and passcode.
func (*ICScannerDevice) RequestOverviewScan ¶
func (o *ICScannerDevice) RequestOverviewScan()
Starts an overview scan on the selected functional unit.
func (*ICScannerDevice) RequestScan ¶
func (o *ICScannerDevice) RequestScan()
Starts a scan on the selected functional unit.
func (*ICScannerDevice) RequestSelectFunctionalUnit ¶
func (o *ICScannerDevice) RequestSelectFunctionalUnit(type_ ICScannerFunctionalUnitType)
Requests to select a functional unit on the scanner.
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
The supported document size types.
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
}
An abstract class that describes a scanner feature.
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 ¶
func (o *ICScannerFeature) Type() ICScannerFeatureType
@property type @abstract Scanner feature type.
type ICScannerFeatureBoolean ¶
type ICScannerFeatureBoolean struct {
ICScannerFeature
}
A feature with a value of YES or NO.
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
}
A feature that can have one of several discrete values, strings or numbers.
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 ¶
func (o *ICScannerFeatureEnumeration) MenuItemLabels() *foundation.NSArray[*foundation.NSString]
@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 ¶
func (o *ICScannerFeatureEnumeration) Values() *foundation.NSArray[*foundation.NSNumber]
@property values @abstract An array of possible values. All items in this array must be of same type.
type ICScannerFeatureRange ¶
type ICScannerFeatureRange struct {
ICScannerFeature
}
A feature with a value that lies within a range.
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
}
A group of one or more rectangular scan areas that can be used with a scanner functional unit.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfeaturetemplate
func ICScannerFeatureTemplateFromID ¶
func ICScannerFeatureTemplateFromID(id objc.ID) *ICScannerFeatureTemplate
func (*ICScannerFeatureTemplate) Targets ¶
func (o *ICScannerFeatureTemplate) Targets() *foundation.NSArray[objc.ID]
type ICScannerFeatureType ¶
type ICScannerFeatureType uint64
The types of scanner features.
const ( // A feature that can have one of several discrete values, strings, or numbers. ICScannerFeatureTypeEnumeration ICScannerFeatureType = 0 // A feature with a value that lies within a range. ICScannerFeatureTypeRange ICScannerFeatureType = 1 // A feature with a value of YES or NO. ICScannerFeatureTypeBoolean ICScannerFeatureType = 2 // A group of one or more rectangular scan areas that can be used with a scanner functional unit. ICScannerFeatureTypeTemplate ICScannerFeatureType = 3 )
func (ICScannerFeatureType) String ¶
func (e ICScannerFeatureType) String() string
type ICScannerFunctionalUnit ¶
type ICScannerFunctionalUnit struct {
foundation.NSObject
}
An abstract class that represents a scanner functional unit.
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 ¶
func (o *ICScannerFunctionalUnit) BitDepth() ICScannerBitDepth
@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 ¶
func (o *ICScannerFunctionalUnit) MeasurementUnit() ICScannerMeasurementUnit
@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 ¶
func (o *ICScannerFunctionalUnit) PixelDataType() ICScannerPixelDataType
@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 ¶
func (o *ICScannerFunctionalUnit) ScanArea() corefoundation.CGRect
@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 ¶
func (o *ICScannerFunctionalUnit) State() ICScannerFunctionalUnitState
@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 ¶
func (o *ICScannerFunctionalUnit) Templates() *foundation.NSArray[*ICScannerFeatureTemplate]
@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 ¶
func (o *ICScannerFunctionalUnit) Type() ICScannerFunctionalUnitType
@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 ¶
func (o *ICScannerFunctionalUnit) VendorFeatures() *foundation.NSArray[*ICScannerFeature]
@property vendorFeatures @abstract An array of objects of type ICScannerFeature.
type ICScannerFunctionalUnitDocumentFeeder ¶
type ICScannerFunctionalUnitDocumentFeeder struct {
ICScannerFunctionalUnit
}
An object that represents the document feeder unit on a scanner.
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 ¶
func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentSize() corefoundation.CGSize
@property documentSize @abstract Document size of the current document type expressed in current measurement unit.
func (*ICScannerFunctionalUnitDocumentFeeder) DocumentType ¶
func (o *ICScannerFunctionalUnitDocumentFeeder) DocumentType() ICScannerDocumentType
@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 ¶
func (o *ICScannerFunctionalUnitDocumentFeeder) EvenPageOrientation() ICEXIFOrientationType
@property evenPageOrientation @abstract Desired orientation of the even pages of the scanned document. @discussion This property is set to ICEXIFOrientation1 initially.
func (*ICScannerFunctionalUnitDocumentFeeder) OddPageOrientation ¶
func (o *ICScannerFunctionalUnitDocumentFeeder) OddPageOrientation() ICEXIFOrientationType
@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
}
An object that represents the flatbed unit on a scanner.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitflatbed
func ICScannerFunctionalUnitFlatbedFromID ¶
func ICScannerFunctionalUnitFlatbedFromID(id objc.ID) *ICScannerFunctionalUnitFlatbed
func (*ICScannerFunctionalUnitFlatbed) DocumentSize ¶
func (o *ICScannerFunctionalUnitFlatbed) DocumentSize() corefoundation.CGSize
@property documentSize @abstract Document size of the current document type expressed in current measurement unit.
func (*ICScannerFunctionalUnitFlatbed) DocumentType ¶
func (o *ICScannerFunctionalUnitFlatbed) DocumentType() ICScannerDocumentType
@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
}
An object that represents the transparency unit for scanning negatives on the scanner.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitnegativetransparency
func ICScannerFunctionalUnitNegativeTransparencyFromID ¶
func ICScannerFunctionalUnitNegativeTransparencyFromID(id objc.ID) *ICScannerFunctionalUnitNegativeTransparency
func (*ICScannerFunctionalUnitNegativeTransparency) DocumentSize ¶
func (o *ICScannerFunctionalUnitNegativeTransparency) DocumentSize() corefoundation.CGSize
@property documentSize @abstract Document size of the current document type expressed in current measurement unit.
func (*ICScannerFunctionalUnitNegativeTransparency) DocumentType ¶
func (o *ICScannerFunctionalUnitNegativeTransparency) DocumentType() ICScannerDocumentType
@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 ¶
func (o *ICScannerFunctionalUnitNegativeTransparency) SupportedDocumentTypes() *foundation.NSIndexSet
@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.
type ICScannerFunctionalUnitPositiveTransparency ¶
type ICScannerFunctionalUnitPositiveTransparency struct {
ICScannerFunctionalUnit
}
An object that represents the transparency unit for scanning positives on the scanner.
Apple documentation: https://developer.apple.com/documentation/imagecapturecore/icscannerfunctionalunitpositivetransparency
func ICScannerFunctionalUnitPositiveTransparencyFromID ¶
func ICScannerFunctionalUnitPositiveTransparencyFromID(id objc.ID) *ICScannerFunctionalUnitPositiveTransparency
func (*ICScannerFunctionalUnitPositiveTransparency) DocumentSize ¶
func (o *ICScannerFunctionalUnitPositiveTransparency) DocumentSize() corefoundation.CGSize
@property documentSize @abstract Document size of the current document type expressed in current measurement unit.
func (*ICScannerFunctionalUnitPositiveTransparency) DocumentType ¶
func (o *ICScannerFunctionalUnitPositiveTransparency) DocumentType() ICScannerDocumentType
@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 ¶
func (o *ICScannerFunctionalUnitPositiveTransparency) SupportedDocumentTypes() *foundation.NSIndexSet
@property supportedDocumentTypes @abstract Supported document types. The values in this set are valid values defined by ICScannerDocumentType.
type ICScannerFunctionalUnitState ¶
type ICScannerFunctionalUnitState uint64
Flags to indicate the state of the scanner functional unit.
const ( // A flag indicating that the functional unit is ready for operation. ICScannerFunctionalUnitStateReady ICScannerFunctionalUnitState = 1 // A flag indicating that the functional unit is performing a scan. ICScannerFunctionalUnitStateScanInProgress ICScannerFunctionalUnitState = 2 // A flag indicating that the functional unit is performing an overview scan. ICScannerFunctionalUnitStateOverviewScanInProgress ICScannerFunctionalUnitState = 4 )
func (ICScannerFunctionalUnitState) String ¶
func (e ICScannerFunctionalUnitState) String() string
type ICScannerFunctionalUnitType ¶
type ICScannerFunctionalUnitType uint64
The types of scanner functional units.
const ( // A flatbed functional unit. ICScannerFunctionalUnitTypeFlatbed ICScannerFunctionalUnitType = 0 // A transparency functional unit for scanning positives. ICScannerFunctionalUnitTypePositiveTransparency ICScannerFunctionalUnitType = 1 // A transparency functional unit for scanning negatives. ICScannerFunctionalUnitTypeNegativeTransparency ICScannerFunctionalUnitType = 2 // A document feeder functional unit. ICScannerFunctionalUnitTypeDocumentFeeder ICScannerFunctionalUnitType = 3 )
func (ICScannerFunctionalUnitType) String ¶
func (e ICScannerFunctionalUnitType) String() string
type ICScannerMeasurementUnit ¶
type ICScannerMeasurementUnit uint64
The unit of measurement used by the scanner.
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
The pixel data types.
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
The modes for transferring scan data from the scanner functional unit.
const ( // The mode for transferring the scan as a file. ICScannerTransferModeFileBased ICScannerTransferMode = 0 // The mode for transferring the scan as data. ICScannerTransferModeMemoryBased ICScannerTransferMode = 1 )
func (ICScannerTransferMode) String ¶
func (e ICScannerTransferMode) 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 ¶
func (e Virtual_memory_guard_exception_code_t) String() 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 ¶
func (e Xpc_listener_create_flags_t) String() 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 ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- ICCameraDevice.go
- ICCameraFile.go
- ICCameraFolder.go
- ICCameraItem.go
- ICDevice.go
- ICDeviceBrowser.go
- ICScannerBandData.go
- ICScannerDevice.go
- ICScannerFeature.go
- ICScannerFeatureBoolean.go
- ICScannerFeatureEnumeration.go
- ICScannerFeatureRange.go
- ICScannerFeatureTemplate.go
- ICScannerFunctionalUnit.go
- ICScannerFunctionalUnitDocumentFeeder.go
- ICScannerFunctionalUnitFlatbed.go
- ICScannerFunctionalUnitNegativeTransparency.go
- ICScannerFunctionalUnitPositiveTransparency.go
- doc.go
- imagecapturecore_enums.go
- imagecapturecore_externs.go
- imagecapturecore_protocols.go
- imagecapturecore_runtime.go