Package apple.quicklook.protocol
Interface QLPreviewItem
-
- All Known Implementing Classes:
ARQuickLookPreviewItem,NSURL
public interface QLPreviewItemThe QLPreviewItem protocol declares the methods that a QLPreviewController instance uses to access the contents of a given item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @Nullable java.lang.StringpreviewItemTitle()The item's title this will be used as apparent item title.@Nullable NSURLpreviewItemURL()The URL of the item to preview.
-
-
-
Method Detail
-
previewItemTitle
@Nullable default @Nullable java.lang.String previewItemTitle()
The item's title this will be used as apparent item title. The title replaces the default item display name. This property is optional.
-
previewItemURL
@Nullable @Nullable NSURL previewItemURL()
The URL of the item to preview. The URL must be a file URL.
-
-