Package-level declarations

User interface components for signing PDFs.

Types

Link copied to clipboard

A dialog for adding a signature to a document by drawing, selecting an image, or typing. an electronic signature. The dialog also provides a list of stored signatures.

Link copied to clipboard
data class ElectronicSignatureOptions @JvmOverloads constructor(val signatureSavingStrategy: SignatureSavingStrategy = SignatureSavingStrategy.SAVE_IF_SELECTED, val signatureColorOptions: SignatureColorOptions = SignatureColorOptions.fromDefaults(), val signatureCreationModes: List<SignatureCreationMode> = listOf(SignatureCreationMode.DRAW, SignatureCreationMode.IMAGE, SignatureCreationMode.TYPE), val defaultThickness: Float = DEFAULT_THICKNESS_PT, val defaultAlpha: Float = DEFAULT_ALPHA) : Parcelable

Options for configuring the ElectronicSignatureFragment. An instance of this can be passed to .

Link copied to clipboard

Steps into the built-in electronic signature flow at its two decision points — before the signature dialog is shown, and before a created signature is added to the document — without replacing the signature UI itself.

Link copied to clipboard

A pending request to show the signature dialog. Resolve it with proceed or cancel.

Link copied to clipboard

Dialog showing information of a digital signature. To show the dialog in the current activity use show passing in a DigitalSignatureInfo instance.

Link copied to clipboard
data class SignatureOptions(val signaturePickerOrientation: SignaturePickerOrientation = SignaturePickerOrientation.AUTOMATIC, val signatureSavingStrategy: SignatureSavingStrategy = SignatureSavingStrategy.SAVE_IF_SELECTED) : Parcelable

Options for configuring the SignaturePickerFragment. An instance of this can be passed to SignaturePickerFragment.show.

Link copied to clipboard

The SignaturePickerFragment can be used to create ink signatures to add to a document. The dialog provides a list of stored signatures, and a user interface for adding new signatures. To show the dialog, use .show providing the fragment manager of the current activity, and a callback for receiving the user's selection.

Link copied to clipboard

A pending request to add a created signature to the document. Resolve it with proceed or cancel.

Link copied to clipboard
UI data for the newly drawn signature.