Contents

QLThumbnailRequestGetGeneratorBundle(_:)

Get the bundle of the generator receiving the thumbnail request.

Declaration

func QLThumbnailRequestGetGeneratorBundle(_ thumbnail: QLThumbnailRequest!) -> Unmanaged<CFBundle>!

Parameters

  • thumbnail:

    The thumbnail request object.

Return Value

A reference to the bundle object representing the generator’s bundle.

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