Platforms to show: All Mac Windows Linux Cross-Platform

Back to ImageCaptureEventsMBS class.

ImageCaptureEventsMBS.cameraDeviceDidAddItem(camera as ICCameraDeviceMBS, item as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when an object is added to the device.

The object may be an instance of ICCameraFolder or ICCameraFile class.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidAddItems(camera as ICCameraDeviceMBS, items() as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when an object or objects are added to the device.

Instead of receive one event per object, an array of objects is sent.
The objects may be instances of ICCameraFolder or ICCameraFile class.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidBecomeReadyWithCompleteContentCatalog(camera as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when the camera device is done enumerating its content and is ready to receive requests.

A session must be opened on the device in order to enumerate its content and make it ready to receive requests.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidChangeCapability(camera as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when the capability of a device changes.

This usually happens when the device module takes control or yields control of the device.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidCompleteDeleteFilesWithError(camera as ICCameraDeviceMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Files have been deleted.

This event is sent after the camera device completes a delete operation initiated by sending a requestDeleteFiles event to that device.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidDownloadFile(file as ICCameraFileMBS, error as NSErrorMBS, options as Dictionary, device as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Download of file finished.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidEnableAccessRestriction(camera as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 20.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Tells the client when an Apple device has been locked, and media is unavailable until the restriction has been removed.

For macOS 10.15 or newer.

ImageCaptureEventsMBS.cameraDeviceDidReadData(data as Memoryblock, file as ICCameraFileMBS, error as NSErrorMBS, device as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Reading file data finished.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidReceiveDownloadProgressForFile(file as ICCameraFileMBS, downloadedBytes as UInt64, maxBytes as UInt64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent to the delegate to provide status of the download operation.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidReceiveMetadataForItem(camera as ICCameraDeviceMBS, item as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when the metadata requested for an item on a device is available.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidReceivePTPEvent(camera as ICCameraDeviceMBS, eventData as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent to the delegate to convey a PTP event.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidReceiveThumbnailForItem(camera as ICCameraDeviceMBS, item as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when the thumbnail requested for an item on a device is available.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidRemoveAccessRestriction(camera as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 20.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Tells the client when an Apple device has been unlocked, paired to the host, and media is available.

For macOS 10.15 or newer.

ImageCaptureEventsMBS.cameraDeviceDidRemoveItem(camera as ICCameraDeviceMBS, item as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when an object is removed from the device.

The object may be an instance of ICCameraFolder or ICCameraFile class.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidRemoveItems(camera as ICCameraDeviceMBS, items() as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when an object or objects are removed from the device.

The objects may be instances of ICCameraFolder or ICCameraFile class. This method supercedes cameraDeviceDidRemoveItem method described above.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidRenameItems(camera as ICCameraDeviceMBS, items() as ICCameraItemMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when an object or objects are renamed on the device.

The objects may be instances of ICCameraFolder or ICCameraFile class.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidSendPTPCommand(command as Memoryblock, data as Memoryblock, response as MemoryBlock, error as NSErrorMBS, device as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Called when a requestSendPTPCommand event got a response or error.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceDidUploadFile(fileURL as string, file as FolderItem, error as NSErrorMBS, device as ICCameraDeviceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A file upload was completed.

Some examples using this event:

ImageCaptureEventsMBS.cameraDeviceViewDidDownloadFile(cameraDeviceView as IKCameraDeviceViewMBS, CameraFile as ICCameraFileMBS, URL as string, File as folderItem, data as MemoryBlock, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent for each file that gets downloaded.

Based on the IKCameraDeviceViewDisplayMode the downloaded file will be saved on disk using the 'url', or returned in memory as Memoryblock.

ImageCaptureEventsMBS.cameraDeviceViewDidEncounterError(cameraDeviceView as IKCameraDeviceViewMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent every time the camera device reports an error.

ImageCaptureEventsMBS.cameraDeviceViewSelectionDidChange(cameraDeviceView as IKCameraDeviceViewMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This event is sent when the user selection did change.

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


The biggest plugin in space...