setSecurityLevel method

Future<void> setSecurityLevel(
  1. double securityLevel
)

Sets the SmartFace matching security level using the public 0 to 100 scale.

Example:

await setSecurityLevel(75);

Throws an exception if the native method invocation fails.

Implementation

Future<void> setSecurityLevel(double securityLevel) async {
  final _ = await invokeNativeMethod('SmartfaceMobile.setSecurityLevel', {
    'arg0': securityLevel,
  });
}