Package apple.uikit.protocol
Interface UIDocumentInteractionControllerDelegate
-
public interface UIDocumentInteractionControllerDelegateAPI-Since: 3.2
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleandocumentInteractionControllerCanPerformAction(@NotNull UIDocumentInteractionController controller, @Nullable org.moe.natj.objc.SEL action)Deprecated.default voiddocumentInteractionControllerDidDismissOpenInMenu(@NotNull UIDocumentInteractionController controller)default voiddocumentInteractionControllerDidDismissOptionsMenu(@NotNull UIDocumentInteractionController controller)default voiddocumentInteractionControllerDidEndPreview(@NotNull UIDocumentInteractionController controller)default voiddocumentInteractionControllerDidEndSendingToApplication(@NotNull UIDocumentInteractionController controller, @Nullable java.lang.String application)default booleandocumentInteractionControllerPerformAction(@NotNull UIDocumentInteractionController controller, @Nullable org.moe.natj.objc.SEL action)Deprecated.default CGRectdocumentInteractionControllerRectForPreview(@NotNull UIDocumentInteractionController controller)If preview is supported, these provide the view and rect that will be used as the starting point for the animation to the full screen preview.default @NotNull UIViewControllerdocumentInteractionControllerViewControllerForPreview(@NotNull UIDocumentInteractionController controller)If preview is supported, this provides the view controller on which the preview will be presented.default @Nullable UIViewdocumentInteractionControllerViewForPreview(@NotNull UIDocumentInteractionController controller)default voiddocumentInteractionControllerWillBeginPreview(@NotNull UIDocumentInteractionController controller)Preview presented/dismissed on document.default voiddocumentInteractionControllerWillBeginSendingToApplication(@NotNull UIDocumentInteractionController controller, @Nullable java.lang.String application)bundle IDdefault voiddocumentInteractionControllerWillPresentOpenInMenu(@NotNull UIDocumentInteractionController controller)Open in menu presented/dismissed on document.default voiddocumentInteractionControllerWillPresentOptionsMenu(@NotNull UIDocumentInteractionController controller)Options menu presented/dismissed on document.
-
-
-
Method Detail
-
documentInteractionControllerCanPerformAction
@Deprecated default boolean documentInteractionControllerCanPerformAction(@NotNull @NotNull UIDocumentInteractionController controller, @Nullable @Nullable org.moe.natj.objc.SEL action)Deprecated.Used to handle additional menu items that can be performed on the item specified by URL. Currently only supports the "copy:", "print:" and "saveToCameraRoll:" actions. API-Since: 3.2 Deprecated-Since: 6.0
-
documentInteractionControllerDidEndSendingToApplication
default void documentInteractionControllerDidEndSendingToApplication(@NotNull @NotNull UIDocumentInteractionController controller, @Nullable @Nullable java.lang.String application)
-
documentInteractionControllerPerformAction
@Deprecated default boolean documentInteractionControllerPerformAction(@NotNull @NotNull UIDocumentInteractionController controller, @Nullable @Nullable org.moe.natj.objc.SEL action)Deprecated.API-Since: 3.2 Deprecated-Since: 6.0
-
documentInteractionControllerWillBeginSendingToApplication
default void documentInteractionControllerWillBeginSendingToApplication(@NotNull @NotNull UIDocumentInteractionController controller, @Nullable @Nullable java.lang.String application)bundle ID
-
documentInteractionControllerDidDismissOpenInMenu
default void documentInteractionControllerDidDismissOpenInMenu(@NotNull @NotNull UIDocumentInteractionController controller)
-
documentInteractionControllerDidDismissOptionsMenu
default void documentInteractionControllerDidDismissOptionsMenu(@NotNull @NotNull UIDocumentInteractionController controller)
-
documentInteractionControllerDidEndPreview
default void documentInteractionControllerDidEndPreview(@NotNull @NotNull UIDocumentInteractionController controller)
-
documentInteractionControllerRectForPreview
default CGRect documentInteractionControllerRectForPreview(@NotNull @NotNull UIDocumentInteractionController controller)
If preview is supported, these provide the view and rect that will be used as the starting point for the animation to the full screen preview. The actual animation that is performed depends upon the platform and other factors. If documentInteractionControllerRectForPreview is not implemented, the specified view's bounds will be used. If documentInteractionControllerViewForPreview is not implemented, the preview controller will simply fade in instead of scaling up.
-
documentInteractionControllerViewControllerForPreview
@NotNull default @NotNull UIViewController documentInteractionControllerViewControllerForPreview(@NotNull @NotNull UIDocumentInteractionController controller)
If preview is supported, this provides the view controller on which the preview will be presented. This method is required if preview is supported. If presenting atop a navigation stack, provide the navigation controller in order to animate in a manner consistent with the rest of the platform.
-
documentInteractionControllerViewForPreview
@Nullable default @Nullable UIView documentInteractionControllerViewForPreview(@NotNull @NotNull UIDocumentInteractionController controller)
-
documentInteractionControllerWillBeginPreview
default void documentInteractionControllerWillBeginPreview(@NotNull @NotNull UIDocumentInteractionController controller)Preview presented/dismissed on document. Use to set up any HI underneath.
-
documentInteractionControllerWillPresentOpenInMenu
default void documentInteractionControllerWillPresentOpenInMenu(@NotNull @NotNull UIDocumentInteractionController controller)Open in menu presented/dismissed on document. Use to set up any HI underneath.
-
documentInteractionControllerWillPresentOptionsMenu
default void documentInteractionControllerWillPresentOptionsMenu(@NotNull @NotNull UIDocumentInteractionController controller)Options menu presented/dismissed on document. Use to set up any HI underneath.
-
-