deviceID from ICDevice in Cocoa
deviceID from ICDevice in Cocoa
- Subject: deviceID from ICDevice in Cocoa
- From: "Zazie Gill (GMail)" <email@hidden>
- Date: Sun, 30 Sep 2012 15:56:49 +0200
How can I retrieve the deviceID from the ICDevice just like it's output by NSLog. The name can easily be retrieved with addedDevice.name, but addedDevice.deviceID doesn't work.
- (void)deviceBrowser:(ICDeviceBrowser*)browser didAddDevice:(ICDevice*)addedDevice moreComing:(BOOL)moreComing {
NSLog(@"deviceBrowser:didAddDevice:\n%@\nmoreComing: %d\n", addedDevice, moreComing);
}
ICCameraDevice <0x8ab910>:
deviceRef : 0x00000003
connectionID : 0xeafc51b8
deviceID : 0x40000003
proxy : NO
name : D200
locationDescription : ICDeviceLocationDescriptionUSB
iconPath : /System/Library/Image Capture/Support/Icons/GenericCamera.icns
modulePath : /System/Library/Image Capture/Devices/PTPCamera.app
moduleVersion : 0.0
moduleExecutableArchitecture : 16777223
type : 0x00000101
UUIDString : 00000000-0000-0000-0030-303030303030
autolaunchApplicationPath :
capabilities : ICCameraDeviceCanSyncClock
ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera
ICCameraDeviceCanTakePicture
ICCameraDeviceCanDeleteOneFile
ICCameraDeviceCanAcceptPTPCommands
remote : NO
shared : NO
clients :
transportType : ICTransportTypeUSB
usbLocationID : 0x24100000
usbProductID : 0x0410
usbVendorID : 0x04b0
usbIntefaceClass : 0x00
usbInterfaceSubClass : 0x00
usbInterfaceProtocol : 0x00
timeOffset : -3599.000000
hasConfigurableWiFiInterface : NO
isAccessRestrictedAppleDevice : NO
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden