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) -> LMBestShotServiceProtocol

    Parameters

    delegate

    best shot service delegate

    livenessAPI

    online liveness API

    configuration

    main configuration

    errorLimit

    number of maximum errors per second (in range 0..3)

    licenseConfig

    license configuration data. Will be loaded from file if nil

    singleFrameMode

    in 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) -> LMBestShotServiceProtocol

    Parameters

    delegate

    best shot service delegate

    livenessAPI

    online liveness API

    configuration

    main configuration

    errorLimit

    number of maximum errors per second (in range 0..3)

    singleFrameMode

    in case if you want to check 1 frame only, you need to set true. False - otherwise.

    Return Value

    best shot service object