java.lang.Object | |
↳ | com.pspdfkit.ui.signatures.ElectronicSignatureOptions.Builder |
A helper class used for building the ElectronicSignatureOptions
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builder()
Default constructor to get the default options.
| |||||||||||
Builder(ElectronicSignatureOptions copyFrom)
Initialize
ElectronicSignatureOptions with a copy of an existing object. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ElectronicSignatureOptions |
build()
Build the
ElectronicSignatureOptions object from the provided properties. | ||||||||||
ElectronicSignatureOptions.Builder |
signatureColorOptions(SignatureColorOptions signatureColorOptions)
Defines the 3 signature color options available when using the Electronic Signatures
"Draw" or "Type" signing UI.
| ||||||||||
ElectronicSignatureOptions.Builder |
signatureCreationModes(List<SignatureCreationMode> signatureCreationModes)
The ways in which the user can choose to add their signature.
| ||||||||||
ElectronicSignatureOptions.Builder |
signatureSavingStrategy(SignatureSavingStrategy savingStrategy)
Defines if a signature should be saved after creation.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Default constructor to get the default options.
Initialize ElectronicSignatureOptions
with a copy of an existing object.
copyFrom | Original object to make a copy from. |
---|
Build the ElectronicSignatureOptions
object from the provided properties.
ElectronicSignatureOptions
object with values set in the builder.
Defines the 3 signature color options available when using the Electronic Signatures "Draw" or "Type" signing UI. Defaults to black, purple, and blue.
signatureColorOptions | Can be created from @ColorRes or @ColorInt with
fromColorRes(int, int, int) and
fromColorInt(int, int, int) respectively.
Defaults can be created with fromDefaults()
|
---|
The ways in which the user can choose to add their signature. These are shown in the order specified as tabs across the top of the signatures UI. The first entry will be selected initially. If this array contains a single entry then the tabs will be hidden. This array must not be empty and must not contain duplicates.
signatureCreationModes | An array of SignatureCreationMode . Must have at
least one mode and not contain duplicates.
|
---|
Defines if a signature should be saved after creation. Defaults to SAVE_IF_SELECTED
.
savingStrategy | Signature strategy to apply to saving signatures. |
---|