PassiveFaceLiveness (Deprecated)
Smart camera that captures a reliable selfie of your user using artificial intelligence, capable of detecting and disapproving snapshots and recordings. Ideal for your onboarding.
Required permissions
In the info.plist
file, add the permissions below:
Utilization
First, instantiate an object of type ** PassiveFaceLiveness
:**
PassiveFaceLiveness.Builder
Each environment (beta and production) requires its own specific mobileToken, generated in the Trust platform of the respective environment.
MessageSettings
After creating an object of type PassiveFaceLiveness
, start the PassiveFaceLivenessController
by passing this object as a parameter in the constructor:
Getting the result
To get the result, you must implement the PassiveFaceLivenessControllerDelegate
delegate in your controller:
PassiveFaceLivenessResult
PassiveFaceLivenessFailure
Superclass that leads to the SDK shutdown. To find out what the reason was, find out which object class has the ** isKindOfClass()
** method, equivalent to instanceof
in Java and is
in Dart:
Examples
Customizing the Layout
You can customize the layout by creating an object of type PassiveFaceLivenessLayout
and passing it as a parameter to PassiveFaceLivenessBuilder
:
Last updated