ABImageClientCallback
Prototype of a callback function used to notify an application when an asynchronous image fetch is complete.
Declaration
typealias ABImageClientCallback = (CFData?, CFIndex, UnsafeMutableRawPointer?) -> VoidParameters
- imageData:
The image data in Quicktime compatible format that was loaded from an asynchronous fetch.
NULLif the fetch failed. - tag:
The tracking number for this fetch that should have been obtained from a previous call to the Abbeginloadingimagedataforclient(_:_:_:) function.
- info:
An untyped pointer to program-defined data that was passed to the Abbeginloadingimagedataforclient(_:_:_:) function.
Discussion
Use the ABBeginLoadingImageDataForClient(_:_:_:) function to begin an asynchronous fetch, and the ABCancelLoadingImageDataForTag(_:) function to cancel an asynchronous fetch.