Document Sharing Dialog Configuration
data class DocumentSharingDialogConfiguration(@IntRange(from = 0 ) val currentPage: Int, @IntRange(from = 0 ) val documentPages: Int, val dialogTitle: String, val positiveButtonText: String, val initialDocumentName: String, val isInitialPagesSpinnerAllPages: Boolean, val isSavingFlow: Boolean) : Parcelable
Configuration for document sharing dialog.
Constructors
Types
Link copied to clipboard
class Builder
Builder used to construct DocumentSharingDialogConfiguration instance.
Properties
Link copied to clipboard
Currently displayed page
Link copied to clipboard
Title of the sharing dialog.
Link copied to clipboard
Sets loaded document pages count.
Link copied to clipboard
Default name displayed in the sharing dialog. Initial document name or empty if name should be generated from document metadata.
Link copied to clipboard
Returns true
if the initial position for Pages spinner is set to 'All pages', false
otherwise.
Link copied to clipboard
Returns true
if saving flow is enabled, and the layout will reflect the change accordingly.
Link copied to clipboard
The text to display in the positive button of the sharing dialog.