Class

QLThumbnailGenerationRequest

A request to generate a thumbnail for a file.

Declaration

@interface QLThumbnailGenerationRequest : NSObject

Topics

Creating a Thumbail Request

- initWithFileAtURL:size:scale:representationTypes:

Creates a new request for a thumbnail with the specified parameters for a file at a provided URL.

Describing the Requested Thumbnail

size

The size of the thumbnails.

scale

The scale of the thumbnails.

representationTypes

The various thumbnail types.

minimumDimension

The minimum dimension for a thumbnail.

iconMode

A Boolean value indicating whether the generated thumbnail request should include icon decorations.

QLThumbnailGenerationRequestRepresentationTypes

The various types of thumbnails that you can request.

Relationships

Inherits From

See Also

Generating a Thumbnail

- generateBestRepresentationForRequest:completionHandler:

Generates the best possible thumbnail representation for a file and calls a handler upon completion.

- generateRepresentationsForRequest:updateHandler:

Generates various thumbnail representations for a file and calls the update handler for each thumbnail representation.