QLThumbnailCancel(_:)
Cancels the computation of the thumbnail.
Declaration
func QLThumbnailCancel(_ thumbnail: QLThumbnail!)Parameters
- thumbnail:
The thumbnail to cancel.
Discussion
If you use QLThumbnailDispatchAsync(_:_:_:) to request the thumbnail, calling this function invokes the completion callback of QLThumbnailDispatchAsync(_:_:_:). If you use synchronous mode, QLThumbnailCopyImage(_:) returns NULL immediately.