ColorSyncDeviceProfileIterateCallback
A callback that ColorSync invokes for each device profile during iteration.
Declaration
typealias ColorSyncDeviceProfileIterateCallback = (CFDictionary?, UnsafeMutableRawPointer?) -> BoolParameters
- colorSyncDeviceProfileInfo:
A dictionary describing the device profile.
- userInfo:
The user info passed to the iteration function. Optional.
Discussion
The colorSyncDeviceProfileInfo dictionary contains the following keys:
kColorSyncDeviceClass {camera, display, printer, scanner}
kColorSyncDeviceID {CFUUIDRef registered with ColorSync}
kColorSyncDeviceDescription {localized device description}
kColorSyncDeviceModeDescription {localized device mode description}
kColorSyncDeviceProfileID {ProfileID registered with ColorSync}
kColorSyncDeviceProfileURL {CFURLRef registered with ColorSync}
kColorSyncDeviceProfileIsFactory {kCFBooleanTrue or kCFBooleanFalse}
kColorSyncDeviceProfileIsDefault {kCFBooleanTrue or kCFBooleanFalse}
kColorSyncDeviceProfileIsCurrent {kCFBooleanTrue or kCFBooleanFalse}