public abstract class

SignatureOptions

extends Object
implements Parcelable
java.lang.Object
   ↳ com.pspdfkit.ui.signatures.SignatureOptions

Class Overview

Options containing parameters for signature dialog UI, more specifically, the SignaturePickerFragment. It allows you to control things like orientation, signature saving strategy, etc. You can pass it to SignaturePickerFragment via show(FragmentManager, SignaturePickerFragment.OnSignaturePickedListener, SignatureOptions, SignatureStorage). Use SignatureOptions.Builder to create an instance of this class.

Summary

Nested Classes
class SignatureOptions.Builder A helper class used for building the SignatureOptions
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
SignatureOptions()
Public Methods
abstract SignatureCertificateSelectionMode getSignatureCertificateSelectionMode()
Defines if the user should be able to select certificates for digitally signing a document, when creating a new signature.
abstract SignaturePickerOrientation getSignaturePickerOrientation()
The orientation to use for the signature picker, defaults to AUTOMATIC.
abstract SignatureSavingStrategy getSignatureSavingStrategy()
The saving strategy used when adding signatures.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public SignatureOptions ()

Public Methods

public abstract SignatureCertificateSelectionMode getSignatureCertificateSelectionMode ()

Defines if the user should be able to select certificates for digitally signing a document, when creating a new signature. Defaults to IF_AVAILABLE.

Returns
  • Signature certificate selection mode to be used.

public abstract SignaturePickerOrientation getSignaturePickerOrientation ()

The orientation to use for the signature picker, defaults to AUTOMATIC.

Returns
  • Orientation to use for the signature picker.

public abstract SignatureSavingStrategy getSignatureSavingStrategy ()

The saving strategy used when adding signatures. Defaults to SAVE_IF_SELECTED

Returns
  • The currently used signature saving strategy.