Enumerations

The following enumerations are available globally.

  • Physical position of camera’s hardware on the system.

    See more

    Declaration

    Objective-C

    enum RFSCameraPosition : NSInteger {}

    Swift

    @frozen enum CameraPosition : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, RFSCameraToolbarViewState) {
        RFSCameraToolbarViewStateFront,
        RFSCameraToolbarViewStateRear,
    }

    Swift

    enum CameraToolbarViewState : Int, @unchecked Sendable
  • Error codes for the RFSDetectFacesResponse errors.

    See more

    Declaration

    Objective-C

    enum RFSDetectFacesErrorCode : NSInteger {}

    Swift

    typealias DetectFacesError.Code._ErrorType = DetectFacesError
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, RFSFaceCaptureContentViewState) {
        RFSFaceCaptureContentViewStateFront,
        RFSFaceCaptureContentViewStateRear,
    }

    Swift

    enum FaceCaptureContentViewState : Int, @unchecked Sendable
  • Error codes for the RFSFaceCaptureResponse errors.

    See more

    Declaration

    Objective-C

    enum RFSFaceCaptureErrorCode : NSInteger {}

    Swift

    typealias FaceCaptureError.Code._ErrorType = FaceCaptureError
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ERROR_ENUM(RFSFaceErrorDomain, RFSFaceErrorCode) {
        RFSFaceErrorAlreadyRunning,
        RFSFaceErrorMissingCore,
        RFSFaceErrorInternalCoreError
    }

    Swift

    typealias FaceError.Code._ErrorType = FaceError
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, RFSHintViewState) {
        RFSHintViewStateFront,
        RFSHintViewStateRear,
    }

    Swift

    enum HintViewState : Int, @unchecked Sendable
  • Image Quality charactestic group

    See more

    Declaration

    Objective-C

    enum RFSImageQualityGroup : NSInteger {}

    Swift

    enum ImageQualityGroup : Int, @unchecked Sendable
  • The assessment status of Image Quality Characteristic

    See more

    Declaration

    Objective-C

    enum RFSImageQualityResultStatus : NSInteger {}
  • The image type of RFSImage influences matching results and provides the information about the source of the image.

    See more

    Declaration

    Objective-C

    enum RFSImageType : NSInteger {}

    Swift

    enum ImageType : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, RFSLivenessStepSkip) {
        RFSLivenessStepSkipNone         = 0,        // default
        RFSLivenessStepSkipOnboarding   = 1 << 0,   // don't show liveness onboarding screen
        RFSLivenessStepSkipSuccess      = 1 << 1    // don't show liveness success screen
    }

    Swift

    struct RFSLivenessStepSkip : OptionSet, @unchecked Sendable
  • Error codes for the RFSLivenessResponse errors.

    See more

    Declaration

    Objective-C

    enum RFSLivenessErrorCode : NSInteger {}

    Swift

    typealias LivenessError.Code._ErrorType = LivenessError
  • The status of the Liveness processing.

    See more

    Declaration

    Objective-C

    enum RFSLivenessStatus : NSUInteger {}

    Swift

    enum LivenessStatus : UInt, @unchecked Sendable
  • Error codes for the RFSMatchFacesResponse errors.

    See more

    Declaration

    Objective-C

    enum RFSMatchFacesErrorCode : NSInteger {}

    Swift

    typealias MatchFacesError.Code._ErrorType = MatchFacesError
  • The AspectRatio according to which alignment is performed

    See more

    Declaration

    Objective-C

    enum RFSOutputImageCropAspectRatio : NSUInteger {}

    Swift

    enum AspectRatio : UInt, @unchecked Sendable