Package apple.uikit

Class UIPrintInteractionController

  • All Implemented Interfaces:
    NSObject

    public class UIPrintInteractionController
    extends NSObject
    API-Since: 4.2
    • Constructor Detail

      • UIPrintInteractionController

        protected UIPrintInteractionController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • canPrintData

        public static boolean canPrintData​(@NotNull
                                           @NotNull NSData data)
      • canPrintURL

        public static boolean canPrintURL​(@NotNull
                                          @NotNull NSURL url)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isPrintingAvailable

        public static boolean isPrintingAvailable()
        return YES if system supports printing. use this to hide HI for unsupported devices.
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • printableUTIs

        @NotNull
        public static @NotNull NSSet<java.lang.String> printableUTIs()
        return set of all document UTI types we can print
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • dismissAnimated

        public void dismissAnimated​(boolean animated)
      • printFormatter

        @Nullable
        public @Nullable UIPrintFormatter printFormatter()
        uses a single formatter to fill the pages
      • printInfo

        @Nullable
        public @Nullable UIPrintInfo printInfo()
        changes to printInfo ignored while printing. default is nil
      • printPageRenderer

        @Nullable
        public @Nullable UIPrintPageRenderer printPageRenderer()
        calls class to render each page
      • printPaper

        @Nullable
        public @Nullable UIPrintPaper printPaper()
        set after printer selection
      • printToPrinterCompletionHandler

        public boolean printToPrinterCompletionHandler​(@NotNull
                                                       @NotNull UIPrinter printer,
                                                       @Nullable
                                                       @Nullable UIPrintInteractionController.Block_printToPrinterCompletionHandler completion)
        Use to print without showing the standard print panel. Use with a UIPrinter found using the UIPrinterPickerController. The value for the duplex property on printInfo will be ignored.
      • printingItem

        @Nullable
        public @Nullable java.lang.Object printingItem()
        single NSData, NSURL, UIImage
      • printingItems

        @Nullable
        public @Nullable NSArray<?> printingItems()
        array of NSData, NSURL, UIImage. does not support page range
      • setPrintFormatter

        public void setPrintFormatter​(@Nullable
                                      @Nullable UIPrintFormatter value)
        uses a single formatter to fill the pages
      • setPrintInfo

        public void setPrintInfo​(@Nullable
                                 @Nullable UIPrintInfo value)
        changes to printInfo ignored while printing. default is nil
      • setPrintPageRenderer

        public void setPrintPageRenderer​(@Nullable
                                         @Nullable UIPrintPageRenderer value)
        calls class to render each page
      • setPrintingItem

        public void setPrintingItem​(@Nullable
                                    @Nullable java.lang.Object value)
        single NSData, NSURL, UIImage
      • setPrintingItems

        public void setPrintingItems​(@Nullable
                                     @Nullable NSArray<?> value)
        array of NSData, NSURL, UIImage. does not support page range
      • setShowsNumberOfCopies

        public void setShowsNumberOfCopies​(boolean value)
        default is YES. API-Since: 7.0
      • setShowsPageRange

        @Deprecated
        public void setShowsPageRange​(boolean value)
        Deprecated.
        API-Since: 4.2 Deprecated-Since: 10.0 Deprecated-Message: Pages can be removed from the print preview, so page range is always shown.
      • setShowsPaperSelectionForLoadedPapers

        public void setShowsPaperSelectionForLoadedPapers​(boolean value)
        default is NO. Paper selection for loaded papers is always shown for UIPrintInfoOutputPhoto and UIPrintInfoOutputPhotoGrayscale API-Since: 8.0
      • showsNumberOfCopies

        public boolean showsNumberOfCopies()
        default is YES. API-Since: 7.0
      • showsPageRange

        @Deprecated
        public boolean showsPageRange()
        Deprecated.
        API-Since: 4.2 Deprecated-Since: 10.0 Deprecated-Message: Pages can be removed from the print preview, so page range is always shown.
      • showsPaperSelectionForLoadedPapers

        public boolean showsPaperSelectionForLoadedPapers()
        default is NO. Paper selection for loaded papers is always shown for UIPrintInfoOutputPhoto and UIPrintInfoOutputPhotoGrayscale API-Since: 8.0
      • setShowsPaperOrientation

        public void setShowsPaperOrientation​(boolean value)
        default is YES. Indicates whether the the printing options include the paper orientation control when available. API-Since: 15.0
      • showsPaperOrientation

        public boolean showsPaperOrientation()
        default is YES. Indicates whether the the printing options include the paper orientation control when available. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.