Platforms to show: All Mac Windows Linux Cross-Platform

Back to ICDeviceMBS class.

ICDeviceMBS.capabilities as Variant()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The capabilities of the device as reported by the device module.

ICDeviceMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The private constructor.

ICDeviceMBS.requestCloseSession

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This message requests to close a previously opened session on this device.

This request is completed when the ImageCaptureEventsMBS subclass receives a deviceDidCloseSessionWithError event.

Some examples using this method:

ICDeviceMBS.requestEjectOrDisconnect

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Eject the media if permitted by the device, or disconnect from a remote device.

ICDeviceMBS.requestOpenSession

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This message requests to open a session on the device.

A client MUST open a session on a device in order to use the device.
This request is completed when the ImageCaptureEventsMBS subclass receives a deviceDidOpenSessionWithError event. No more events will be sent to the delegate if this request fails.

Some examples using this method:

ICDeviceMBS.requestSendMessage(messageCode as UInt32, data as MemoryBlock, maxReturnedDataSize as UInt64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This method asynchronously sends an arbitrary message with optional data to a device.

This method allows developers to send a private message from a client application to a device module. This method is the functional equivalent of calling ICAObjectSendMessage() found in ImageCapture.framework, which has been deprecated in Mac OS X 10.6. The response to this command will be delivered using deviceDidSendMessage event.
The content of error returned should be examined to determine if the request completed successfully.
NOTE: This method SHOULD NOT BE USED to send PTP pass-through commands to a PTP camera. Please refer to requestSendPTPCommand defined in ICCameraDeviceMBS for sending PTP pass-through commands.

ICDeviceMBS.requestYield

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Capture MBS AVFoundation Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This message requests the device module in control of this device to yield control.

This message should be used only if the client is planning on communiting with the device directly. The device module may not yield control of the device if it has an open session.

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


The biggest plugin in space...