3.5 STSilentLivenessEnumTypeHeader

typedef NS_ENUM(NSInteger, STIDSilentLivenessResult)

Liveness detection failure type.

TypeDescription

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_SERVER_ACCESS

Server access error

STIDSilentLiveness_E_SERVER_TIMEOUT

Server access timeout

STIDSilentLiveness_E_CALL_API_IN_WRONG_STATE

API call status error

STIDSilentLiveness_E_HACK

Liveness detection failure

STIDSilentLiveness_E_CAPABILITY_NOT_SUPPORTED

Authorization file capability not supported

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

STIDSilentLiveness_E_SIGN_FAILED

Digital signature generation failure

STIDSilentLiveness_E_UNTRUSTED_RESULT

Digital signature verification failure

typedef NS_ENUM(NSUInteger, STIDSilentLivenessDeveiceError)

Device error type.

TypeDescription

STIDSilentLiveness_E_CAMERA

Camera permission acquisition failed

STIDSilentLiveness_WILL_RESIGN_ACTIVE

Application is about to be suspended

TypeDescription

STIDSilentLiveness_CLOUD_INTERNAL_DEFAULT

default, the default return code when no private cloud request is involved

STIDSilentLiveness_CLOUD_INTERNAL_SUCCESS

success

STIDSilentLiveness_CLOUD_INTERNAL_API_KEY_MISSING

api_key is missing

STIDSilentLiveness_CLOUD_INTERNAL_INVALID_API_KEY

api_key is invalid

STIDSilentLiveness_CLOUD_INTERNAL_API_KEY_IS_DISABLED

api_key is disabled

STIDSilentLiveness_CLOUD_INTERNAL_API_KEY_HAS_EXPIRED

api_key has expired

STIDSilentLiveness_CLOUD_INTERNAL_PERMISSION_DENIED

permission denied

STIDSilentLiveness_CLOUD_INTERNAL_BUNDLE_ID_MISSING

bundle_id is missing

STIDSilentLiveness_CLOUD_INTERNAL_BUNDLE_ID_IS_DISABLED

bundle_id is disabled

STIDSilentLiveness_CLOUD_INTERNAL_DAILY_RATE_LIMIT_EXCEEDED

daily rate limit has reached

STIDSilentLiveness_CLOUD_INTERNAL_APP_SIGN_MISSING

APP sign missing

STIDSilentLiveness_CLOUD_INTERNAL_INVALID_APP_SIGN

APP sign invalid

STIDSilentLiveness_CLOUD_INTERNAL_INVALID_SIGNATURE

signature invalid

STIDSilentLiveness_CLOUD_INTERNAL_INVALID_BUNDLE_ID

bundle_id is invalid

STIDSilentLiveness_CLOUD_INTERNAL_INVALID_SN

SN is invalid

STIDSilentLiveness_CLOUD_INTERNAL_REQUEST_HAS_EXPIRED

request has expired

STIDSilentLiveness_CLOUD_INTERNAL_DUPLICATE_REQUEST

request is duplicated

STIDSilentLiveness_CLOUD_INTERNAL_SENSETIME_ERROR

internal error, please contact JCV customer support

Last updated