Breadcrumbs

signoAPI Android – STSignatureCaptureCreator class

The STSignatureCaptureCreator class is responsible for creating an STSignatureCapture instance. The class is part of libSignoPDFSigner as well as of libSignoSignatureCapture.

Java
public class STSignatureCaptureCreator

1.1 createSignatureCapture method

This method can be used to create an instance of the STSignatureCapture class.

Java
public static STSignatureCapture createSignatureCapture(Context context) throws STSignatureCaptureException;

Parameter

Description

Context context

The context of an Activity class

Return value

Description

STSignatureCapture

The instance of the STSignatureCapture class.

Exception

Description

STSignatureCaptureException

Is thrown if an error occurs when the STSignatureCapture instance is generated.

Usage:

Java
try {
  STSignatureCapture signatureCapture = STSignatureCaptureCreator.createSignatureCapture(context);
} catch {
  //error handling
}

releaseSignatureCapture method

This method can be used to release the generated instance of the STSignatureCapture class.

public static void releaseSignatureCapture();

Parameter

Description

-

-

Return value

Description

-

-

Usage:

Java
STSignoViewerCreator.releaseSignatureCapture();