Contents

QLThumbnailRequestIsCancelled(_:)

Returns whether the thumbnail request has been cancelled by the client.

Declaration

func QLThumbnailRequestIsCancelled(_ thumbnail: QLThumbnailRequest!) -> Bool

Parameters

  • thumbnail:

    The thumbnail request object.

Return Value

true if the request is being cancelled, false otherwise.

Discussion

Thread-safety: This function should be called in the same thread as the thumbnail request is made in; generally, this is the same thread in which the GenerateThumbnailForURL callback was invoked.

See Also

Handling thumbnail requests