startFaceRecon method
Future<String?>
startFaceRecon(
- String mobileToken,
- String sessionId,
- String fontColor,
- String backgroundColor,
- String environment,
- String audioConfiguration,
- bool showSuccessScreen,
- bool showIntroductionScreens,
- bool activeFaceLiveness,
- bool useValidation,
- String documentNumber,
override
Implementation
@override
Future<String?> startFaceRecon(
String mobileToken,
String sessionId,
String fontColor,
String backgroundColor,
String environment,
String audioConfiguration,
bool showSuccessScreen,
bool showIntroductionScreens,
bool activeFaceLiveness,
bool useValidation,
String documentNumber,
) async {
try {
return await methodChannel.invokeMethod('startFaceRecon', {
'mobileToken': mobileToken,
'sessionId': sessionId,
'fontColor': fontColor,
'backgroundColor': backgroundColor,
'environment': environment,
'audioConfiguration': audioConfiguration,
'showSuccessScreen': showSuccessScreen,
'showIntroductionScreens': showIntroductionScreens,
'activeFaceLiveness': activeFaceLiveness,
'useValidation': useValidation,
'documentNumber': documentNumber,
});
} on PlatformException catch (e) {
throw e.message ?? 'Unknown error occurred';
}
}