Skip to main content

Veritran Docs

Set Extra Parameters

This function allows you to customize the theme of the user interface in the different flows of the Facetec SDK through metadata sent in JSON format. This metadata allow you to configure the images of the icons, the colors of the frames, and the fonts of the texts as well as their styles, colors and sizes.

The Facetec SDK also allows customization of the user interface texts by editing or adding text files in the app binary. Contact your Technical Account Manager for more information.

Parameter Configuration

This function requires you to send metadata in JSON format in the value of Register 390 (Input parameters). Once the parameters have been defined, they will remain active during the execution of the application. With each successful invocation of this function, all the parameters sent in the JSON are updated.

Refer to FaceTec documentation to learn more about the available customization parameters.

Note

To revert to the default parameters, invoke the function leaving the value of register 390 empty.

Function ID

Register

Value

110

5

Input Registers

Register

Description

Mandatory

Value

390

Theme customization metadata in JSON format

No

[Paste customized JSON into this field]

Output Registers

Register

Description

Value

112

Call Result

000

API_NO_ERROR

001

API_WRONG_PARAMETERS_ERROR

010

API_GENERIC_ERROR

020

ERR_CUSTOM_API_NOT_IMPLEMENTED

021

ERR_CUSTOM_API_WRONG_OUTPUT_PARAMETERS

100

ERR_INVALID_MODE

101

ERR_STATUS_NOT_OS_SUPPORTED

103

ERR_STATUS_EXPIRED_LICENCE

312

INVALID_CUSTOMIZATION_JSON