ActiveFaceCaptureModel

class ActiveFaceCaptureModel : ObservableObject

This class represents the model for the active face capture session. It holds the data required to update the UI during the face capture process.

  • The expected user action during face capture.

    Declaration

    Swift

    var expectedUserAction: ActiveFaceCaptureStateName?
  • The score associated with the expected user action.

    Declaration

    Swift

    var expectedActionScore: Float?
  • Declaration

    Swift

    var showUserGuideFaceAnimation: Bool
  • The flag to determine whether to show the arc.

    Declaration

    Swift

    var showArc: Bool
  • Enum that represents the state of the animation indicator (show animation or not).

    Declaration

    Swift

    var currentIndicatorStateName: IndicatorStateName?
  • The instructions to be displayed to the user during face capture.

    Declaration

    Swift

    var instructions: String?
  • The animation file to be used displayed to the user during face capture.

    Declaration

    Swift

    var animationFile: String?
  • The total number of states in the face capture process.

    Declaration

    Swift

    var numStates: UInt8?
  • The number of completed states in the face capture process.

    Declaration

    Swift

    var numCompletedStates: UInt8?
  • The error that occurred during face capture.

    Declaration

    Swift

    var error: SDKErrors?
  • The angle of the arc to be displayed.

    Declaration

    Swift

    var arcAngle: Double?
  • The hex color code for the circle.

    Declaration

    Swift

    var circleHexColor: UInt?