| java.lang.Object | |
| ↳ | com.pspdfkit.ui.dialog.DocumentSharingDialogConfiguration.Builder |
Builder used to construct DocumentSharingDialogConfiguration instance.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Builder(Context context)
Creates a builder for the document sharing dialog configuration.
| |||||||||||
|
Builder(Context context, PdfDocument document, int currentPage)
Creates a builder for the document sharing dialog configuration.
| |||||||||||
|
Builder(Context context, ShareAction shareAction, PdfDocument document, int currentPage)
Creates a builder for the document sharing dialog configuration.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a builder for the document sharing dialog configuration.
| context | Context of the calling component. |
|---|
Creates a builder for the document sharing dialog configuration.
| context | Context of the calling component. |
|---|---|
| document | Document that is going to be shared. |
| currentPage | Currently displayed page. |
Creates a builder for the document sharing dialog configuration.
| context | Context of the calling component. |
|---|---|
| shareAction | Share action that governs dialog title and buttons. |
| document | Document that is going to be shared. |
| currentPage | Currently displayed page. |
Creates a DocumentSharingDialogConfiguration with the arguments supplied to this builder.
Sets currently displayed page.
| currentPage | Page number of the page to be displayed. |
|---|
Sets the dialog title.
| dialogTitle | A title for the dialog. |
|---|
Sets loaded document pages count.
| documentPages | Number of pages in the loaded document. |
|---|
Sets the initial document name shown in dialog.
| initialDocumentName | A name set to the document initially. |
|---|
Sets the positive button text.
| positiveButtonText | A text to be displayed on the positive dialog button. |
|---|
Sets the initial position for the pages spinner to 'All pages'.
| allPages | true to set the initial position to 'All pages'.
|
|---|
Sets proper layout changes for saving flow.
| savingFlow | true to enable the saving flow, false otherwise. |
|---|---|
| context | Context of the calling component. |