RFSLivenessResponse

Objective-C


@interface RFSLivenessResponse : NSObject

Swift

class LivenessResponse : NSObject

The response from the Liveness module.

  • The id of the processing from the liveness service. A string containing a formatted UUID for example E621E1F8-C36C-495A-93FC-0C247A3E6E5F. Allows for matching the responses on the client and the processing on the server if necessary.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *guid;

    Swift

    var guid: String { get }
  • The input image used to determine the liveness.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) UIImage *image;

    Swift

    var image: UIImage? { get }
  • The status of the Liveness processing.

    Declaration

    Objective-C

    @property (nonatomic, readonly) RFSLivenessStatus liveness;

    Swift

    var liveness: LivenessStatus { get }
  • The error describes a failed liveness check and contains RFSLivenessError codes. This error belongs to the RFSLivenessErrorDomain.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSError *error;

    Swift

    var error: Error? { get }
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE