LMCameraBuilder
public struct LMCameraBuilder
Controller builder of the best shot.
-
viewController(delegate:
configuration: livenessAPI: lunaCustomization: canRecordVideo: interactionSteps: ) Creates a controller with the camera viewfinder. Controller which transmits the best shot or an error to the delegate.
Declaration
Swift
public static func viewController(delegate: LMCameraDelegate, configuration: LCLunaConfiguration, livenessAPI: LunaCore.LCOnlineLivenessProtocol, lunaCustomization: LMCustomization? = nil, canRecordVideo: Bool = false, interactionSteps: [LCStepConfigProtocol]? = nil) -> LMCameraViewControllerProtocol
Parameters
delegate
Delegate.
configuration
Luna ID SDK configuration.
Return Value
Returns an instance of the controller with the camera viewfinder.