The STSignoSignerCreator class is responsible for creating an STSignoSigner instance. The class is part of libSignoPDFSigner.
Java
public class STSignoSignerCreator
createSignoSigner method
This method can be used to create an instance of the STSignoSigner class.
Java
public static STSignoSigner createSignoSigner(Context context) throws STSignoSignerException;
|
Parameter |
Description |
|---|---|
|
Context context |
The context of an Activity class. |
|
Return value |
Description |
|
The instance of the STSignoSigner class. |
|
|
Exception |
Description |
|
STSignoSignerException |
Is thrown if an error occurs when the STSignoSigner instance is generated. |
Usage:
Java
try {
STSignoSigner signoSigner = STSignoSignerCreator.createSignoSigner(context, true);
} catch {
// error handling
}
releaseSignoSigner method
This method can be used to release the generated instance of the STSignoSigner class.
Java
public static void releaseSignoSigner();
|
Parameter |
Description |
|---|---|
|
- |
- |
|
Return value |
Description |
|
- |
- |
Usage:
Java
STSignoSignerCreator.releaseSignoSigner();