| java.lang.Object | |
| ↳ | com.pspdfkit.ui.signatures.SignatureSignerDialog.Options.Builder |
Allows you to create the SignatureSignerDialog.Options object to pass to the SignatureSignerDialog.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Builder(PdfDocument document, SignatureFormField formField, Signer signer)
Creates a new
SignatureSignerDialog.Options.Builder for creating the SignatureSignerDialog.Options object to pass to the SignatureSignerDialog. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SignatureSignerDialog.Options.Builder |
biometricSignatureData(BiometricSignatureData biometricSignatureData)
Sets the
BiometricSignatureData that will be written to the digital signature, May be null. | ||||||||||
| SignatureSignerDialog.Options | build() | ||||||||||
| SignatureSignerDialog.Options.Builder |
saveDocumentBeforeSigning(boolean saveDocumentBeforeSigning)
Sets if the document should be saved before signing it.
| ||||||||||
| SignatureSignerDialog.Options.Builder |
signatureAppearance(SignatureAppearance signatureAppearance)
Sets the
SignatureAppearance that will be used for the digital signature. | ||||||||||
| SignatureSignerDialog.Options.Builder |
signatureMetadata(SignatureMetadata signatureMetadata)
Sets the
SignatureMetadata that contains additional metadata to add to the signature. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new SignatureSignerDialog.Options.Builder for creating the SignatureSignerDialog.Options object to pass to the SignatureSignerDialog.
| document | The PdfDocument instance that should be signed. |
|---|---|
| formField | The SignatureFormField which should be used for signing the document. |
| signer | The Signer that should be used for signing the document.
|
Sets the BiometricSignatureData that will be written to the digital signature, May be null.
Sets if the document should be saved before signing it. Set this to false if your document was opened from a read only source.
Defaults to true.
Sets the SignatureAppearance that will be used for the digital signature.
Pass in null to use the default appearance.
Sets the SignatureMetadata that contains additional metadata to add to the signature.