Interface UIDocumentInteractionControllerDelegate


  • public interface UIDocumentInteractionControllerDelegate
    • Method Detail

      • documentInteractionControllerCanPerformAction

        @Deprecated
        default boolean documentInteractionControllerCanPerformAction​(UIDocumentInteractionController controller,
                                                                      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.
      • documentInteractionControllerDidEndSendingToApplication

        default void documentInteractionControllerDidEndSendingToApplication​(UIDocumentInteractionController controller,
                                                                             java.lang.String application)
      • documentInteractionControllerPerformAction

        @Deprecated
        default boolean documentInteractionControllerPerformAction​(UIDocumentInteractionController controller,
                                                                   org.moe.natj.objc.SEL action)
        Deprecated.
      • documentInteractionControllerWillBeginSendingToApplication

        default void documentInteractionControllerWillBeginSendingToApplication​(UIDocumentInteractionController controller,
                                                                                java.lang.String application)
        bundle ID
      • documentInteractionControllerDidDismissOpenInMenu

        default void documentInteractionControllerDidDismissOpenInMenu​(UIDocumentInteractionController controller)
      • documentInteractionControllerDidDismissOptionsMenu

        default void documentInteractionControllerDidDismissOptionsMenu​(UIDocumentInteractionController controller)
      • documentInteractionControllerRectForPreview

        default CGRect documentInteractionControllerRectForPreview​(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

        default UIViewController documentInteractionControllerViewControllerForPreview​(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.
      • documentInteractionControllerWillBeginPreview

        default void documentInteractionControllerWillBeginPreview​(UIDocumentInteractionController controller)
        Preview presented/dismissed on document. Use to set up any HI underneath.
      • documentInteractionControllerWillPresentOpenInMenu

        default void documentInteractionControllerWillPresentOpenInMenu​(UIDocumentInteractionController controller)
        Open in menu presented/dismissed on document. Use to set up any HI underneath.
      • documentInteractionControllerWillPresentOptionsMenu

        default void documentInteractionControllerWillPresentOptionsMenu​(UIDocumentInteractionController controller)
        Options menu presented/dismissed on document. Use to set up any HI underneath.