Platforms to show: All Mac Windows Linux Cross-Platform

ImageCaptureEventsMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Central class for Image Capture events.

Whenever you have an ICA object, the plugin will register a delegate for it and dispatch all events here.
For some view classes, events are in addition dispatched to the controls.

Error Constants

Constant Value Description
ICReturnCommunicationTimedOut -9923 Communication between different components of Image Capture timed out.
ICReturnDeleteFilesCanceled -9942 A request to delete files was canceled.
ICReturnDeleteFilesFailed -9941 A request to delete files failed.
ICReturnDeviceFailedToCloseSession -9928 Failed to close a session on a specified device.
ICReturnDeviceFailedToOpenSession -9927 Failed to open a session on a specified device.
ICReturnDeviceFailedToTakePicture -9944 Failed to take a tethered-capture picture on a camera device.
ICReturnDeviceIsPasscodeLocked -9943 The device is locked with a passcode. Its contents cannot be seen unless it is unlocked.
ICReturnDeviceSoftwareInstallationCanceled -9948 Software installation for the device has been canceled.
ICReturnDeviceSoftwareInstallationCompleted -9947 Software installation for the device has completed successfully.
ICReturnDeviceSoftwareInstallationFailed -9949 Software installation for the device failed.
ICReturnDeviceSoftwareIsBeingInstalled -9946 Failed to open session because software to communicate with the device is being installed.
ICReturnDeviceSoftwareNotAvailable -9950 Software for the device is not available from Apple.
ICReturnDeviceSoftwareNotInstalled -9945 Failed to open session because software to communicate with the device is not installed.
ICReturnDownloadCanceled -9937 A download operation was canceled.
ICReturnDownloadFailed -9934 A non-specific error occurred while downloading a file.
ICReturnFailedToCompletePassThroughCommand -9936 Failed to complete a pass-through (e.g., PTP pass-through) command.
ICReturnFailedToCompleteSendMessageRequest -9940 A request to send a event to a device failed.
ICReturnFailedToDisabeTethering -9939 Failed to disable tethered-capture on a camera device.
ICReturnFailedToEnabeTethering -9938 Failed to enable tethered-capture on a camera device.
ICReturnInvalidParam -9922 An invalid parameter was found.
ICReturnReceivedUnsolicitedScannerErrorInfo -9933 An unsolicited error information was received from a scanner.
ICReturnReceivedUnsolicitedScannerStatusInfo -9932 An unsolicited status information was received from a scanner.
ICReturnScannerFailedToCompleteOverviewScan -9930 Overview scan operation failed to complete on the specified scanner.
ICReturnScannerFailedToCompleteScan -9931 Scan operation failed to complete on the specified scanner.
ICReturnScannerFailedToSelectFunctionalUnit -9929 Failed to select a functional unit on the specified scanner.
ICReturnScannerInUseByLocalUser -9925 Scanner is being used by a remote user.
ICReturnScannerInUseByRemoteUser -9926 Scanner is being used by a local user.
ICReturnScanOperationCanceled -9924 The scan operation is canceled.
ICReturnSuccess 0 Operation successful.
ICReturnUploadFailed -9935 A non-specific error occurred while updownloading a file.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 20.4
    • Added cameraDeviceDidEnableAccessRestriction and cameraDeviceDidRemoveAccessRestriction events to ImageCaptureEventsMBS class.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


IKSlideshowMBS   -   ImageCaptureMBS


The biggest plugin in space...