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.

ParameterRequiredDescription

context: Context

Yes

Application context

mobileToken: String

Yes

Usage token associated with your CAF account

personId: String

Yes

User's CPF

Example

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

Last updated

Logo

2023 © Caf. - All rights reserved