How to (Java)

Discover and select devices

The library may discover multiple connected devices.
One of those have to be selected as active.
The library communicates with the active signature device.

Applications that use multiple devices need to use them sequentially.
Sequential in the sense that the application must have
selected one active device at a given point in time.

Start a signature process

There are different kinds of signature processes and devices.

One common concept the signature rectangle.
The signature rectangle is a rectangular area on the display
in which the device expects the signer to draw his signature.
During the signature process the rectangle is constant;
hence it should be set before starting the signature process.

Some devices exhibit buttons and can display images.

Read the signature image

The signature image is a graphic representation of the drawing of the signer on the pad.
During the signature process the library prepares an image
that may read by the application.

The signature image can be tweaked by means of several options.

For displaying the image in an application during the signing process
one would read the image and update the frontend of the application many times.
When the signature image has changed the library calls a callback.

 

Stopping the signature capture

In the probable event that the signer has finished drawing on the device
the capturing should be stopped.
 
Switching to customer logo mode implicitly does this too.