| java.lang.Object | |||
| ↳ | androidx.fragment.app.Fragment | ||
| ↳ | androidx.fragment.app.DialogFragment | ||
| ↳ | com.pspdfkit.ui.signatures.SignatureSignerDialog | ||
Dialog for signing a single SignatureFormField using a given Signer.
To show the dialog use the static show(FragmentManager, Options, DocumentSigningListener) method.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | SignatureSignerDialog.Options | Collection of all the parameters the SignatureSignerDialog requires. |
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
androidx.fragment.app.DialogFragment
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SignatureSignerDialog()
Non-argument constructor used by the Android framework.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | onCreate(Bundle savedInstanceState) | ||||||||||
| Dialog | onCreateDialog(Bundle savedInstanceState) | ||||||||||
| void | onDestroy() | ||||||||||
| void | onDismiss(DialogInterface dialog) | ||||||||||
| void | onStart() | ||||||||||
| void | onStop() | ||||||||||
| static void |
restore(FragmentManager fragmentManager, PdfDocument document)
Restores the dialog if there currently is a signing in progress.
| ||||||||||
| static void |
setListener(FragmentManager fragmentManager, DocumentSigningListener listener)
Sets the
DocumentSigningListener on the currently displayed SignatureSignerDialog. | ||||||||||
| static void |
show(FragmentManager fragmentManager, SignatureSignerDialog.Options options, DocumentSigningListener listener)
Creates the dialog for signing the signature
formField of the document. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
androidx.fragment.app.DialogFragment
| |||||||||||
From class
androidx.fragment.app.Fragment
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.content.ComponentCallbacks
| |||||||||||
From interface
android.content.DialogInterface.OnCancelListener
| |||||||||||
From interface
android.content.DialogInterface.OnDismissListener
| |||||||||||
From interface
android.view.View.OnCreateContextMenuListener
| |||||||||||
From interface
androidx.lifecycle.LifecycleOwner
| |||||||||||
From interface
androidx.lifecycle.ViewModelStoreOwner
| |||||||||||
Non-argument constructor used by the Android framework. To create an instance of this dialog use
show(FragmentManager, Options, DocumentSigningListener) instead.
Restores the dialog if there currently is a signing in progress.
| fragmentManager | Fragment manager of the current activity for attaching and showing the dialog. |
|---|---|
| document | The PdfDocument instance that is being signed.
|
Sets the DocumentSigningListener on the currently displayed SignatureSignerDialog.
| fragmentManager | Fragment manager of the current activity for attaching and showing the dialog. |
|---|---|
| listener | A DocumentSigningListener for being notified of the signing success, or null.
|
Creates the dialog for signing the signature formField of the document.
| fragmentManager | Fragment manager of the current activity for attaching and showing the dialog. |
|---|---|
| options | The SignatureSignerDialog.Options to use for signing. |
| listener | An optional DocumentSigningListener for being notified of the signing success, or null. If set make sure to
restore it after a configuration change using the static setListener(FragmentManager, DocumentSigningListener) method.
|