To start the liveness verification, use the verifyPolicy() method with the user's document ID, your account mobile token, and a CafVerifyPolicyListener closure.
Parameter
Type
Description
Required
mobileToken
String
Usage token associated with your CAF account.
✅
personID
String
User's document ID.
✅
listener
Closure that handles key events during the SDK's liveness detection process.