For the complete documentation index, see llms.txt. This page is also available as Markdown.

Video ID - VideoID

This component is responsible for recording a user identifying themselves, showing their face and their identity document.

Dependencies

React Native:

npm install @facephi/sdk-videoid-react-native@<Version>

Android - Gradle:

implementation "com.facephi.androidsdk:videoid_component:$version"

iOS - CocoaPods:

s.dependency 'FPHISDKVideoIDomponent', '~> $version'

Method startVideoIdComponent

Once the SDK has been started and a new operation has been created, the component can be launched. Any of its controllers can be used to execute its functionality.

Component Launch:

Future<Map> startVideoIdComponent({required VideoIdConfiguration widgetConfigurationJSON})
{
  return FphiSdkmobileVideoidPlatform.instance.startVideoIdComponent(
      widgetConfigurationJSON: widgetConfigurationJSON
  );
}

Basic configuration

To launch the current component, an object VideoIdConfiguration must be created, which will be the configuration of the component controller.

The basic configuration needed for this is as follows:

Video ID

Advanced component configuration

Below are all the fields that are part of this class.

Result reception

The launch will return the information in the format VideoIdResult. It being possible to distinguish between a successful launch and an unsuccessful one:

Below are all the fields that are part of this class.

Video ID Result

Last updated