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
  • 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_ENUM(NSInteger, RFSHintViewState) {
        RFSHintViewStateFront,
        RFSHintViewStateRear,
    }

    Swift

    enum HintViewState : Int, @unchecked Sendable
  • 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
  • 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