LCBestShotBuilder
Objective-C
@interface LCBestShotBuilder : NSObject
Swift
class LCBestShotBuilder : NSObject
Detector builder of the best shot.
-
Creates an instance of the best shot detector.
Declaration
Objective-C
+ (nonnull id<LCBestShotDetectorProtocol>) buildWithDelegate:(nullable id<LCBestShotDelegate>)delegate livenessAPI:(nullable id<LCOnlineLivenessProtocol>)onlineLiveness configuration:(nonnull LCLunaConfiguration *)configuration licenseConfig:(nonnull LCLicenseConfig *)licenseConfig singleFrameMode:(BOOL)singleFrameMode;Swift
class func build(with delegate: (any LCBestShotDelegate)?, livenessAPI onlineLiveness: (any LCOnlineLivenessProtocol)?, configuration: LCLunaConfiguration, licenseConfig: LCLicenseConfig, singleFrameMode: Bool) -> any LCBestShotDetectorProtocolParameters
delegateDelegate of the best shot detector.
onlineLivenessObject which checks liveness..
configurationLuna ID SDK configuration.
licenseConfigconfig which contains all the license info
singleFrameModein case you want to check 1 frame only you can set true in here otherwise false
Return Value
new object of Bestshot detector
LCBestShotBuilder Class Reference