Building the SDK
Creating a Liveness SDK instance
In order to create an instance of CafFaceLivenessSDK
, we need to use our CafBuilder
. This allows you to configure all necessary configurations.
Builder Methods
Parameter | Required | Description |
---|---|---|
| No | Enables or disables screen capture. Default is |
| No | Defines the environment stage (e.g., PROD, BETA). Default is PROD. |
| No | Enables or disables the loading screen. Default is |
| No | Sets the reverse proxy URL for face liveness. Must be WSS protocol. |
| No | Enables or disables logs to aid debugging during the integration process. Default is |
| No | Sets Base64 encoded SHA-256 certificates for reverse proxy. |
| No | Sets the reverse proxy URL for authentication. Must be HTTPS protocol. |
| Yes | Sets the listener for liveness verification events. |
Example
Last updated