Package com.pspdfkit.ui.dialog
Class DocumentSharingDialogConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class DocumentSharingDialogConfiguration implements Parcelable
Configuration for document sharing dialog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
DocumentSharingDialogConfiguration.Builder
Builder used to construct DocumentSharingDialogConfiguration instance.
-
Field Summary
Fields Modifier and Type Field Description private final Integer
currentPage
private final Integer
documentPages
private final String
dialogTitle
private final String
positiveButtonText
private final String
initialDocumentName
private final Boolean
isInitialPagesSpinnerAllPages
private final Boolean
isSavingFlow
-
Method Summary
Modifier and Type Method Description final Integer
getCurrentPage()
Currently displayed page final Integer
getDocumentPages()
Sets loaded document pages count. final String
getDialogTitle()
Title of the sharing dialog. final String
getPositiveButtonText()
The text to display in the positive button of the sharing dialog. final String
getInitialDocumentName()
Default name displayed in the sharing dialog. final Boolean
isInitialPagesSpinnerAllPages()
Returns true
if the initial position for Pages spinner is set to 'All pages',false
otherwise.final Boolean
isSavingFlow()
Returns true
if saving flow is enabled, and the layout will reflect the change accordingly.-
-
Method Detail
-
getCurrentPage
final Integer getCurrentPage()
Currently displayed page
-
getDocumentPages
final Integer getDocumentPages()
Sets loaded document pages count.
-
getDialogTitle
final String getDialogTitle()
Title of the sharing dialog.
-
getPositiveButtonText
final String getPositiveButtonText()
The text to display in the positive button of the sharing dialog.
-
getInitialDocumentName
final String getInitialDocumentName()
Default name displayed in the sharing dialog. Initial document name or empty if name should be generated from document metadata.
-
isInitialPagesSpinnerAllPages
final Boolean isInitialPagesSpinnerAllPages()
Returns
true
if the initial position for Pages spinner is set to 'All pages',false
otherwise.
-
isSavingFlow
final Boolean isSavingFlow()
Returns
true
if saving flow is enabled, and the layout will reflect the change accordingly.
-
-
-
-