---
title: QLFilePreviewRequest
framework: QuickLook UI
role: symbol
role_heading: Class
platforms: [macOS 12.0+]
path: quicklookui/qlfilepreviewrequest
---

# QLFilePreviewRequest

A Quick Look preview request that indicates the content to preview.

## Declaration

```swift
class QLFilePreviewRequest
```

## Overview

Overview The system provides a QLFilePreviewRequest to the providePreview(for:completionHandler:) method of your data-based Quick Look extension.

## Topics

### Inspecting the preview request

- [fileURL](quicklookui/qlfilepreviewrequest/fileurl.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Data-based Preview Extensions

- [QLPreviewProvider](quicklookui/qlpreviewprovider.md)
- [QLPreviewReply](quicklookui/qlpreviewreply.md)
- [QLPreviewReplyAttachment](quicklookui/qlpreviewreplyattachment.md)
