3.5 STSilentLivenessEnumTypeHeader

typedef NS_ENUM(NSInteger, STIDSilentLivenessResult)

Liveness detection failure type.

Type

Description

STIDSilentLiveness_OK

Running normally

STIDSilentLiveness_E_LICENSE_INVALID

License file is invalid

STIDSilentLiveness_E_LICENSE_FILE_NOT_FOUND

License file does not exist

STIDSilentLiveness_E_LICENSE_BUNDLE_ID_INVALID

License bound package name is incorrect

STIDSilentLiveness_E_LICENSE_EXPIRE

License file expired

STIDSilentLiveness_E_LICENSE_VERSION_MISMATCH

License does not match the SDK version

STIDSilentLiveness_E_LICENSE_PLATFORM_NOT_SUPPORTED

License does not support the current platform

STIDSilentLiveness_E_MODEL_INVALID

Model file is invalid

STIDSilentLiveness_E_DETECTION_MODEL_FILE_NOT_FOUND

DETECTION model file does not exist

STIDSilentLiveness_E_MODEL_EXPIRE

Model file expired

STIDSilentLiveness_E_INVALID_ARGUMENT

Parameter setting is invalid

STIDSilentLiveness_E_TIMEOUT

Detection scan timeout

STIDSilentLiveness_E_CALL_API_IN_WRONG_STATE

API call status error

STIDSilentLiveness_E_HACK

Liveness detection failure

STIDSilentLiveness_E_ALIGNMENT_MODEL_FILE_NOT_FOUND

ALIGNMENT model file does not exist

STIDSilentLiveness_E_FRAME_SELECTOR_MODEL_FILE_NOT_FOUND

FRAME_SELECTOR model file does not exist

STIDSilentLiveness_E_ANTI_SPOOFING_MODEL_FILE_NOT_FOUND

ANTI_SPOOFING model file does not exist

STIDSilentLiveness_E_FACE_QUALITY_MODEL_FILE_NOT_FOUND

FACE QUALITY model file does not exist

typedef NS_ENUM(NSUInteger, STIDSilentLivenessDeveiceError)

Device error type.

Type

Description

STIDSilentLiveness_E_CAMERA

Camera permission acquisition failed

STIDSilentLiveness_WILL_RESIGN_ACTIVE

Application is about to be suspended

Last updated