Interface SharingOptionsProvider

  • All Implemented Interfaces:

    
    public interface SharingOptionsProvider
    
                        

    Allows you to provide default share 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 SharingOptions createSharingOptions(@NonNull() PdfDocument document, int currentPage) Creates and returns the SharingOptions.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • createSharingOptions

        @Nullable() abstract SharingOptions createSharingOptions(@NonNull() PdfDocument document, int currentPage)

        Creates and returns the SharingOptions.

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

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