QLPreviewRequestGetGeneratorBundle(_:)
Get the bundle of the generator receiving the preview request.
Declaration
func QLPreviewRequestGetGeneratorBundle(_ preview: QLPreviewRequest!) -> Unmanaged<CFBundle>!Parameters
- preview:
The preview request object.
Return Value
A reference to a bundle object representing the generator’s bundle.
Discussion
Thread-safety: This function should be called in the same thread as the preview request is made in; generally, this is the same thread in which the GeneratePreviewForURL callback was invoked.
See Also
Requesting previews
QLPreviewRequestCopyContentUTI(_:)QLPreviewRequestCopyOptions(_:)QLPreviewRequestCopyURL(_:)QLPreviewRequestCreateContext(_:_:_:_:)QLPreviewRequestCreatePDFContext(_:_:_:_:)QLPreviewRequestFlushContext(_:_:)QLPreviewRequestGetDocumentObject(_:)QLPreviewRequestSetDocumentObject(_:_:_:)QLPreviewRequestGetTypeID()QLPreviewRequestIsCancelled(_:)QLPreviewRequestSetDataRepresentation(_:_:_:_:)QLPreviewRequestSetURLRepresentation(_:_:_:_:)