QLPreviewRequestCopyContentUTI(_:)
Returns the UTI for the preview request.
Declaration
func QLPreviewRequestCopyContentUTI(_ preview: QLPreviewRequest!) -> Unmanaged<CFString>!Parameters
- preview:
The preview request object.
Return Value
The UTI of the associated preview request; returns NULL if the UTI is not available. You should explicitly release this object when it is no longer needed.
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
QLPreviewRequestCopyOptions(_:)QLPreviewRequestCopyURL(_:)QLPreviewRequestCreateContext(_:_:_:_:)QLPreviewRequestCreatePDFContext(_:_:_:_:)QLPreviewRequestFlushContext(_:_:)QLPreviewRequestGetDocumentObject(_:)QLPreviewRequestSetDocumentObject(_:_:_:)QLPreviewRequestGetGeneratorBundle(_:)QLPreviewRequestGetTypeID()QLPreviewRequestIsCancelled(_:)QLPreviewRequestSetDataRepresentation(_:_:_:_:)QLPreviewRequestSetURLRepresentation(_:_:_:_:)