Class DocumentSharingDialogConfiguration

    • Constructor Detail

      • DocumentSharingDialogConfiguration

        DocumentSharingDialogConfiguration()
    • Method Detail

      • getPositiveButtonText

        @NonNull() abstract String getPositiveButtonText()

        The text to display in the positive button of the sharing dialog.

        Returns:

        Positive button text.

      • getCurrentPage

        @IntRange(from = 0) abstract int getCurrentPage()

        Currently displayed page in the shared document. Used to pre-fill page range picker.

        Returns:

        Currently displayed page.

      • getDocumentPages

        @IntRange(from = 0) abstract int getDocumentPages()

        Pages in the shared document. Used to pre-fill page range picker.

        Returns:

        Document pages.

      • getInitialDocumentName

        @NonNull() abstract String getInitialDocumentName()

        Default name displayed in the sharing dialog.

        Returns:

        Initial document name or empty if name should be generated from document metadata.

      • isInitialPagesSpinnerAllPages

         abstract boolean isInitialPagesSpinnerAllPages()

        Returns true if the initial position for Pages spinner is set to 'All pages', false otherwise.

        Returns:

        true if the initial position for Pages spinner is set to 'All pages'.

      • isSavingFlow

         abstract boolean isSavingFlow()

        Returns true if saving flow is enabled, and the layout will reflect the change accordingly.

        Returns:

        true if saving flow is enabled, false otherwise.