public abstract class

DocumentSharingDialogConfiguration

extends Object
implements Parcelable
java.lang.Object
   ↳ com.pspdfkit.ui.dialog.DocumentSharingDialogConfiguration

Class Overview

Configuration for document sharing dialog.

Summary

Nested Classes
class DocumentSharingDialogConfiguration.Builder Builder used to construct DocumentSharingDialogConfiguration instance. 
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
DocumentSharingDialogConfiguration()
Public Methods
abstract int getCurrentPage()
Currently displayed page in the shared document.
abstract String getDialogTitle()
Title of the sharing dialog.
abstract int getDocumentPages()
Pages in the shared document.
abstract String getInitialDocumentName()
Default name displayed in the sharing dialog.
abstract String getPositiveButtonText()
The text to display in the positive button of the sharing dialog.
abstract boolean isInitialPagesSpinnerAllPages()
Returns true if the initial position for Pages spinner is set to 'All pages', false otherwise.
abstract boolean isSavingFlow()
Returns true if saving flow is enabled, and the layout will reflect the change accordingly.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public DocumentSharingDialogConfiguration ()

Public Methods

public abstract int getCurrentPage ()

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

Returns
  • Currently displayed page.

public abstract String getDialogTitle ()

Title of the sharing dialog.

Returns
  • Sharing dialog title.

public abstract int getDocumentPages ()

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

Returns
  • Document pages.

public abstract String getInitialDocumentName ()

Default name displayed in the sharing dialog.

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

public abstract String getPositiveButtonText ()

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

Returns
  • Positive button text.

public 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'.

public 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.