Start Liveness Verification

Calling startSDK

To start the liveness verification, use the startSDK() method with the user's ID, your app's context, and a CafLivenessListener interface.

Parameter
Type
Description
Required

context

Context

Application context

mobileToken

String

Usage token associated with your CAF account

personId

String

Identifier of the user who will perform the face liveness verification. It's recommended to use the user's identification document in this field, such as their CPF (Brazilian document ID), but it could be any other value.

Example

    sdk.startSDK(
        this,
        "mobileToken",
        "personId"
    )

Last updated

Logo

2023 © Caf. - All rights reserved