Skip to main content

CaptureWindow

CaptureWindow provides methods for interacting with the signature capture window.

Summary​

public final class CaptureWindow
Defines the CaptureWindow Java class
Interface
ICaptureWindowEvents
Methods
FireClick
getSignature

Methods​

fireClick()​

This method triggers a click event for a specified button.

public native void fireClick(Enums.ButtonId buttonId)
Parameters
buttonId: Enums.ButtonId — The identifier of the button to fire the click event for.
Return Value
none

getSignature()​

Retrieves a signature based on the specified parameters.

There are two overloads:

  • getSignature(Enums.SignatureStorageType storageType)
  • getSignature(Enums.SignatureStorageType storageType, Enums.EncryptionType encryptionType, Object encryptionKey)
public native Object getSignature(Enums.SignatureStorageType storageType, Enums.EncryptionType encryptionType, Object encryptionKey)
Parameters
storageType: Enums.SignatureStorageType — The format of the signature data (e.g. FSS/ISO, binary/text).
encryptionType: Enums.EncryptionType — The encryption type to use. Default is None.
encryptionKey: Object — The encryption key if encryption is used. Default is null.
Return Value
Object — The captured signature in the requested format.