CameraUIDelegate

public protocol CameraUIDelegate : AnyObject

Controller’s delegate with the camera viewfinder..

  • Called when the best shot of the face is found.

    Declaration

    Swift

    func bestShot(_ bestShot: LunaCore.LCBestShot)

    Parameters

    bestShot

    The best shot.

  • Called when an error occurred.

    Declaration

    Swift

    func error(error: CameraError)

    Parameters

    error

    Error.