Package com.pspdfkit.ui.dialog
Class BaseDocumentSharingDialog
-
- 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 abstract class BaseDocumentSharingDialog extends AppCompatDialogFragment
Base class for all dialogs returning document sharing 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 DocumentSharingDialog.SharingDialogListener
listener
public DocumentSharingDialogConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description BaseDocumentSharingDialog()
-
Method Summary
Modifier and Type Method Description DocumentSharingDialog.SharingDialogListener
getListener()
Returns the com.pspdfkit.ui.dialog.DocumentSharingDialog.SharingDialogListener 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() DocumentSharingDialog.SharingDialogListener getListener()
Returns the com.pspdfkit.ui.dialog.DocumentSharingDialog.SharingDialogListener to call once the dialog is ready to perform the share action.
- Returns:
The com.pspdfkit.ui.dialog.DocumentSharingDialog.SharingDialogListener 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)
-
-
-
-