Platforms to show: All Mac Windows Linux Cross-Platform
ICDeviceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Image Capture | MBS AVFoundation Plugin | 14.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
ImageCaptureCore defines two concrete subclasses of ICDeviceMBS, ICCameraDeviceMBS and ICScannerDeviceMBS. ICDeviceBrowserMBS creates instances of these two subclasses to represent cameras and scanners it finds.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 35 properties
- property AutolaunchApplicationPath as String
- property BonjourServiceType as String
- property BskonjourServiceName as String
- property ButtonPressed as String
- property canDeleteAllFiles as Boolean
- property canDeleteOneFile as Boolean
- property canEject as Boolean
- property canReceiveFile as Boolean
- property canSyncClock as Boolean
- property canTakePicture as Boolean
- property fwGUID as Int64
- property Handle as Integer
- property HasConfigurableWiFiInterface as Boolean
- property HasOpenSession as Boolean
- property Icon as Variant
- property IconPath as String
- property IPAddress as String
- property IsRemote as Boolean
- property IsShared as Boolean
- property LocationDescription as String
- property ModuleExecutableArchitecture as Integer
- property ModulePath as String
- property ModuleVersion as String
- property Name as String
- property PersistentIDString as String
- property ProductKind as String
- property SerialNumberString as String
- property SystemSymbolName as String
- property TransportType as String
- property type as Integer
- property usbLocationID as Integer
- property usbProductID as Integer
- property usbVendorID as Integer
- property UserData as Dictionary
- property UUIDString as String
- 7 methods
- method capabilities as Variant()
- method Constructor Private
- method requestCloseSession
- method requestEjectOrDisconnect
- method requestOpenSession
- method requestSendMessage(messageCode as UInt32, data as MemoryBlock, maxReturnedDataSize as UInt64)
- method requestYield
- 19 shared methods
- shared method ICButtonTypeCopy as string
- shared method ICButtonTypeMail as string
- shared method ICButtonTypePrint as string
- shared method ICButtonTypeScan as string
- shared method ICButtonTypeTransfer as string
- shared method ICButtonTypeWeb as string
- shared method ICDeviceCanEjectOrDisconnect as string
- shared method ICDeviceLocationDescriptionBluetooth as string
- shared method ICDeviceLocationDescriptionFireWire as string
- shared method ICDeviceLocationDescriptionMassStorage as string
- shared method ICDeviceLocationDescriptionUSB as string
- shared method ICLocalizedStatusNotificationKey as string
- shared method ICStatusCodeKey as string
- shared method ICStatusNotificationKey as string
- shared method ICTransportTypeBluetooth as string
- shared method ICTransportTypeFireWire as string
- shared method ICTransportTypeMassStorage as string
- shared method ICTransportTypeTCPIP as string
- shared method ICTransportTypeUSB as string
- 13 constants
Device Types
Constant | Value | Description |
---|---|---|
ICDeviceLocationTypeBluetooth | &h00000800 |
Device found as a paired Bluetooth device. |
ICDeviceLocationTypeBonjour | &h00000400 |
Device found over the network by searching for Bonjour services supported by Image Capture. |
ICDeviceLocationTypeLocal | &h00000100 |
Device found directly attached to the Macintosh via its USB or FireWire port. |
ICDeviceLocationTypeShared | &h00000200 |
Device found over the network by searching for devices shared by other Macintosh hosts. |
Image Capture Device Location Type Mask
Constant | Value | Description |
---|---|---|
ICDeviceLocationTypeMaskBluetooth | &h00000800 |
Mask to detect paired Bluetooth device. |
ICDeviceLocationTypeMaskBonjour | &h00000400 |
Mask to detect a network device that publishes a Bonjour service. |
ICDeviceLocationTypeMaskLocal | &h00000100 |
Mask to detect a local (e.g., USB or FireWire) device. |
ICDeviceLocationTypeMaskRemote | &h0000FE00 |
Mask to detect a remote (shared, Bonjour, Bluetooth) device. |
ICDeviceLocationTypeMaskShared | &h00000200 |
Mask to detect a device by another Macintosh host. |
Image Capture Device Types
Constant | Value | Description |
---|---|---|
ICDeviceTypeCamera | &h00000001 |
Camera device. |
ICDeviceTypeScanner | &h00000002 |
Scanner device. |
Image Capture Device Type Mask
Constant | Value | Description |
---|---|---|
ICDeviceTypeMaskCamera | &h00000001 |
Mask to detect a camera device. |
ICDeviceTypeMaskScanner | &h00000002 |
Mask to detect a scanner device. |
Sub classes:
Blog Entries
Release notes
- Version 20.5
- Added SystemSymbolName property for ICDeviceMBS class.
Some methods using this class:
- ICDeviceBrowserMBS.devices as ICDeviceMBS()
Some properties using for this class:
- ICDeviceBrowserMBS.preferredDevice as ICDeviceMBS
- IKDeviceBrowserViewMBS.selectedDevice as ICDeviceMBS
Some events using this class:
- DesktopIKDeviceBrowserViewControlMBS.SelectionDidChange(device as ICDeviceMBS)
- ICDeviceBrowserMBS.DidAddDevice(device as ICDeviceMBS, moreComing as boolean)
- ICDeviceBrowserMBS.DidRemoveDevice(device as ICDeviceMBS, moreGoing as boolean)
- ICDeviceBrowserMBS.RequestsSelectDevice(device as ICDeviceMBS)
- ImageCaptureEventsMBS.deviceBrowserDeviceDidChangeName(browser as ICDeviceBrowserMBS, device as ICDeviceMBS)
- ImageCaptureEventsMBS.deviceBrowserDeviceDidChangeSharingState(browser as ICDeviceBrowserMBS, device as ICDeviceMBS)
- ImageCaptureEventsMBS.deviceBrowserDidRemoveDevice(browser as ICDeviceBrowserMBS, device as ICDeviceMBS, moreGoing as boolean)
- ImageCaptureEventsMBS.deviceDidBecomeReady(device as ICDeviceMBS)
- ImageCaptureEventsMBS.deviceDidCloseSessionWithError(device as ICDeviceMBS, error as NSErrorMBS)
- ImageCaptureEventsMBS.deviceDidRemove(device as ICDeviceMBS)
Some examples using this class:
- /MacFrameworks/Image Capture/Camera Browser
- /MacFrameworks/Image Capture/Image Capture Views
- /MacFrameworks/Image Capture/Scanner Browser
Some related classes:
- class ICCameraDeviceMBS
- class ICDeviceBrowserMBS
- class ICScannerDeviceMBS
- class IKDeviceBrowserViewMBS
- class ImageCaptureEventsMBS
- class NSErrorMBS
The items on this page are in the following plugins: MBS AVFoundation Plugin.
