LMCameraDelegate
public protocol LMCameraDelegate : AnyObject
Controller’s delegate with the camera viewfinder..
-
Called when the best shot of the face is found.
Declaration
Swift
func bestShot(_ bestShot: LunaCore.LCBestShotModel, _ videoFile: String?)Parameters
bestShotThe best shot.
-
Called when the best shots of the face is collected. This method is called only if
isMultipartBestShotsis set to true.Declaration
Swift
func multipartBestShots(_ bestShots: [LunaCore.LCBestShotModel], _ videoFile: String?)Parameters
bestShotThe best shots.
-
Called when an error occurred.
Declaration
Swift
func error(_ error: LMCameraError, _ videoFile: String?)Parameters
errorError.
-
interactionsFinish(with:Default implementation) Called when interactions finished.
Default Implementation
Declaration
Swift
func interactionsFinish(with interactionFrames: [LCInteractionFrameInfo])Parameters
interactionFramesList of frame with step type info.
LMCameraDelegate Protocol Reference