Contents

QLThumbnailRequestCopyOptions(_:)

Returns the options specified for the thumbnail request.

Declaration

func QLThumbnailRequestCopyOptions(_ thumbnail: QLThumbnailRequest!) -> Unmanaged<CFDictionary>!

Parameters

  • thumbnail:

    A thumbnail request object.

Return Value

A dictionary containing the options that the client specified for the thumbnail request. See General Thumbnail Options for supported options. You should explicitly release the dictionary when it is no longer needed.

Discussion

The client sets options in the thumbnail request to give hints to the generator. For macOS 10.5, no options are supported. You should explicitly release the dictionary when it’s no longer needed.

Special Considerations

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