Interface PrintOptionsProvider

  • All Implemented Interfaces:

    
    public interface PrintOptionsProvider
    
                        

    Allows you to provide default print options when the user hits the share button in the toolbar.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract PrintOptions createPrintOptions(@NonNull() PdfDocument document, int currentPage) Creates the PrintOptions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createPrintOptions

        @Nullable() abstract PrintOptions createPrintOptions(@NonNull() PdfDocument document, int currentPage)

        Creates the PrintOptions. Internal usage only.

        Parameters:
        document - The document that is being shared.
        currentPage - The page the user is currently on.
        Returns:

        The print options you wish to use for the print operation, or null to display the default print options dialog.