public class

DigitalSignatureDialogFragment

extends SignatureDialogFragment
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.controls.CustomSizeDialogFragment
       ↳ com.pdftron.pdf.dialog.signature.SignatureDialogFragment
         ↳ com.pdftron.pdf.dialog.digitalsignature.DigitalSignatureDialogFragment

Class Overview

A SignatureDialogFragment that allows users to pick a certificate keystore and associated password to digitally sign the signature.

Summary

Fields
public static boolean HANDLE_INTENT_IN_ACTIVITY
[Expand]
Inherited Fields
From class com.pdftron.pdf.dialog.signature.SignatureDialogFragment
Public Constructors
DigitalSignatureDialogFragment()
Public Methods
static DigitalSignatureViewModel getViewModel(FragmentActivity activity)
static boolean isDigitalSignatureIntent(int requestCode)
void onActivityResult(int requestCode, int resultCode, Intent data)
void onCreate(Bundle savedInstanceState)
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onDestroy()
void onSignatureCreated(String filepath, boolean saveSignature)
Called when signature is created.
void onSignatureFromImage(PointF targetPoint, int targetPage, Long widget)
Called when signature from image is selected.
void onSignatureSelected(String filepath)
Called when a signature is selected.
void setOnKeystoreUpdatedListener(OnCreateSignatureListener.OnKeystoreUpdatedListener onKeystoreUpdatedListener)
[Expand]
Inherited Methods
From class com.pdftron.pdf.dialog.signature.SignatureDialogFragment
From class com.pdftron.pdf.controls.CustomSizeDialogFragment
From class java.lang.Object
From interface com.pdftron.pdf.interfaces.OnCreateSignatureListener
From interface com.pdftron.pdf.interfaces.OnSavedSignatureListener

Fields

public static boolean HANDLE_INTENT_IN_ACTIVITY

Public Constructors

public DigitalSignatureDialogFragment ()

Public Methods

public static DigitalSignatureViewModel getViewModel (FragmentActivity activity)

public static boolean isDigitalSignatureIntent (int requestCode)

public void onActivityResult (int requestCode, int resultCode, Intent data)

public void onCreate (Bundle savedInstanceState)

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onDestroy ()

public void onSignatureCreated (String filepath, boolean saveSignature)

Called when signature is created.

public void onSignatureFromImage (PointF targetPoint, int targetPage, Long widget)

Called when signature from image is selected.

public void onSignatureSelected (String filepath)

Called when a signature is selected.

Parameters
filepath The file path of the saved signature

public void setOnKeystoreUpdatedListener (OnCreateSignatureListener.OnKeystoreUpdatedListener onKeystoreUpdatedListener)