Platforms to show: All Mac Windows Linux Cross-Platform
Back to ImageCaptureMBS class.
ImageCaptureMBS.Notification(notificationType as string, notificationDictionary as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | Image Capture | MBS MacOSX Plugin | 10.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Use RegisterForEventNotification to register for events.
The Image Capture notification event will be called with a notificationDictionary that may contain one or more key-value pairs as defined below:
Key | Value Type | Comments |
kICANotificationICAObjectKey | Number | An object associated with the notification. |
kICANotificationDeviceICAObjectKey | Number | A device object associated with the notification. |
kICANotificationClassKey | String | See below. |
kICANotificationTypeKey | String | See below. |
kICANotificationRawEventKey | Number | The unprocesssed event code sent by a device. |
kICANotificationDataKey | Data String | Data associated with the event. |
kICANotificationDataSizeKey | Number | Size of data associated with the event. This is used if the data is not sent with the notification. [Needed for backward compatiblity with pre-Leopard device modules]. |
kICANotificationDataCookieKey | Number | A token identifying the data associated with this event. This data can be retrieved by calling SendMessage with messageType set to kICAMessageGetEventData, dataType set to value of kICANotificationDataCookieKeyand dataSize set to value of kICANotificationDataSizeKey. |
The following keys are present if the value of kICANotificationDataKey represents image data. The values of these keys are Numbers representing the width, height, bytes per row, start row, and number of rows of the image:
kICANotificationImageKey | Dictionary | A dictionary that describes an Image associated with the notification. |
kICANotificationImageDataKey | Data String | Image data |
kICANotificationImageWidthKey | Number | Image width in pixels |
kICANotificationImageHeightKey | Number | Image height in pixels |
kICANotificationImageBytesPerRowKey | Number | Bytes per row in image |
kICANotificationImageStartRowKey | Number | Starting row number of the image. |
kICANotificationImageNumberOfRowsKey | Number | Number of rows of image data sent in this notification. |
The items on this page are in the following plugins: MBS MacOSX Plugin.