Class UIPrintInteractionController

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class UIPrintInteractionController
extends NSObject
  • Constructor Details

    • UIPrintInteractionController

      public UIPrintInteractionController()
    • UIPrintInteractionController

      protected UIPrintInteractionController​(NSObject.Handle h, long handle)
    • UIPrintInteractionController

      protected UIPrintInteractionController​(NSObject.SkipInit skipInit)
  • Method Details

    • isPrintingAvailable

      public static boolean isPrintingAvailable()
    • getPrintableUTIs

      public static Set<String> getPrintableUTIs()
    • getSharedPrintController

      public static UIPrintInteractionController getSharedPrintController()
    • getPrintInfo

      public UIPrintInfo getPrintInfo()
    • setPrintInfo

      public void setPrintInfo​(UIPrintInfo v)
    • getDelegate

    • setDelegate

      public void setDelegate​(UIPrintInteractionControllerDelegate v)
    • showsPageRange

      @Deprecated public boolean showsPageRange()
      Deprecated.
      Deprecated in iOS 10.0. Pages can be removed from the print preview, so page range is always shown.
    • setShowsPageRange

      @Deprecated public void setShowsPageRange​(boolean v)
      Deprecated.
      Deprecated in iOS 10.0. Pages can be removed from the print preview, so page range is always shown.
    • showsNumberOfCopies

      public boolean showsNumberOfCopies()
    • setShowsNumberOfCopies

      public void setShowsNumberOfCopies​(boolean v)
    • showsPaperSelectionForLoadedPapers

      public boolean showsPaperSelectionForLoadedPapers()
    • setShowsPaperSelectionForLoadedPapers

      public void setShowsPaperSelectionForLoadedPapers​(boolean v)
    • showsPaperOrientation

      public boolean showsPaperOrientation()
      Since:
      Available in iOS 15.0 and later.
    • setShowsPaperOrientation

      public void setShowsPaperOrientation​(boolean v)
      Since:
      Available in iOS 15.0 and later.
    • getPrintPaper

      public UIPrintPaper getPrintPaper()
    • getPrintPageRenderer

      public UIPrintPageRenderer getPrintPageRenderer()
    • setPrintPageRenderer

      public void setPrintPageRenderer​(UIPrintPageRenderer v)
    • getPrintFormatter

      public UIPrintFormatter getPrintFormatter()
    • setPrintFormatter

      public void setPrintFormatter​(UIPrintFormatter v)
    • getPrintingItem

      public NSObject getPrintingItem()
    • setPrintingItem

      public void setPrintingItem​(NSObject v)
    • getPrintingItems

      public NSArray<?> getPrintingItems()
    • setPrintingItems

      public void setPrintingItems​(NSArray<?> v)
    • present

      public boolean present​(boolean animated, VoidBlock3<UIPrintInteractionController,​Boolean,​NSError> completion)
    • presentFromRectInView

      public boolean presentFromRectInView​(CGRect rect, UIView view, boolean animated, VoidBlock3<UIPrintInteractionController,​Boolean,​NSError> completion)
    • presentFromBarButtonItem

      public boolean presentFromBarButtonItem​(UIBarButtonItem item, boolean animated, VoidBlock3<UIPrintInteractionController,​Boolean,​NSError> completion)
    • print

      public boolean print​(UIPrinter printer, VoidBlock3<UIPrintInteractionController,​Boolean,​NSError> completion)
    • dismiss

      public void dismiss​(boolean animated)
    • canPrint

      public static boolean canPrint​(NSURL url)
    • canPrint

      public static boolean canPrint​(NSData data)