isSignaturePadAvailable(numberOfRetries)

Checks if a signature pad is available.

Input parameter

Optional

The type is described in the following list:

  • Number: Specifies the number of retries in case a general communication error occurs. The maximum number of retries is 10. Default: 2

Returns

An object as Promise.

The object property name and type are described in the following list:

  • server (boolean): True if the DeviceConnector server component is available, else false.
  • signaturePad (boolean): True if a signature pad is available, else false.

Example

deviceConnector.isSignaturePadAvailable().then(
    (result) => {
        console.log('DeviceConnector server available:' + result.server);
        console.log('Signature pad available:' + result.signaturePad);
    }
);