Package com.pspdfkit.ui.dialog
Class BaseDocumentPrintDialog
-
- All Implemented Interfaces:
-
android.content.ComponentCallbacks
,android.content.DialogInterface.OnCancelListener
,android.content.DialogInterface.OnDismissListener
,android.view.View.OnCreateContextMenuListener
,androidx.activity.result.ActivityResultCaller
,androidx.lifecycle.HasDefaultViewModelProviderFactory
,androidx.lifecycle.LifecycleOwner
,androidx.lifecycle.ViewModelStoreOwner
,androidx.savedstate.SavedStateRegistryOwner
public class BaseDocumentPrintDialog extends AppCompatDialogFragment
Base class for all dialogs returning document print options. This class contains a it can send to which triggers the actual sharing to happen. If you want to cancel sharing you can dismiss your self without calling the listener.
-
-
Field Summary
Fields Modifier and Type Field Description public DocumentPrintDialog.PrintDialogListener
listener
public DocumentSharingDialogConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description BaseDocumentPrintDialog()
-
Method Summary
Modifier and Type Method Description DocumentPrintDialog.PrintDialogListener
getListener()
Returns the com.pspdfkit.ui.dialog.DocumentPrintDialog.PrintDialogListener to call once the dialog is ready to perform the share action. DocumentSharingDialogConfiguration
getConfiguration()
Returns the DocumentSharingDialogConfiguration used for this dialog. void
onCreate(@Nullable() Bundle savedInstanceState)
void
onDismiss(DialogInterface dialog)
void
onSaveInstanceState(Bundle outState)
-
-
Method Detail
-
getListener
@Nullable() DocumentPrintDialog.PrintDialogListener getListener()
Returns the com.pspdfkit.ui.dialog.DocumentPrintDialog.PrintDialogListener to call once the dialog is ready to perform the share action.
- Returns:
The com.pspdfkit.ui.dialog.DocumentPrintDialog.PrintDialogListener used by this dialog.
-
getConfiguration
@NonNull() DocumentSharingDialogConfiguration getConfiguration()
Returns the DocumentSharingDialogConfiguration used for this dialog.
- Returns:
The DocumentSharingDialogConfiguration used for this dialog.
-
onDismiss
void onDismiss(DialogInterface dialog)
-
onSaveInstanceState
void onSaveInstanceState(Bundle outState)
-
-
-
-