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 |
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 |
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 |
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 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
The items on this page are in the following plugins: MBS AVFoundation Plugin.