LMBestShotServiceBuilder
final public class LMBestShotServiceBuilder
Best shot service builder
-
Build best shot service according to arguments.
Declaration
Swift
static public func build(delegate: LMBestShotServiceDelegate, livenessAPI: LunaCore.LCOnlineLivenessProtocol?, configuration: LunaCore.LCLunaConfiguration, errorLimit: Int, licenseConfig: LCLicenseConfig, singleFrameMode: Bool) -> LMBestShotServiceProtocolParameters
delegatebest shot service delegate
livenessAPIonline liveness API
configurationmain configuration
errorLimitnumber of maximum errors per second (in range 0..3)
licenseConfiglicense configuration data. Will be loaded from file if nil
singleFrameModein case if you want to check 1 frame only, you need to set true. False - otherwise.
Return Value
best shot service object
-
Build best shot service according to arguments. License will be loaded from file.
Declaration
Swift
static public func build(delegate: LMBestShotServiceDelegate, livenessAPI: LunaCore.LCOnlineLivenessProtocol?, configuration: LunaCore.LCLunaConfiguration, errorLimit: Int, singleFrameMode: Bool) -> LMBestShotServiceProtocolParameters
delegatebest shot service delegate
livenessAPIonline liveness API
configurationmain configuration
errorLimitnumber of maximum errors per second (in range 0..3)
singleFrameModein case if you want to check 1 frame only, you need to set true. False - otherwise.
Return Value
best shot service object
LMBestShotServiceBuilder Class Reference