SenseID Silent Liveness Detection SDK
Android English
Android English
  • Introduction
  • Release Notes
  • 1 Overview
  • 2 User Guide
  • 3 SDK Function Library
    • Revision History
    • 3.1 SilentLivenessApi
    • 3.2 OnLivenessListener
    • 3.3 ResultCode
    • 3.4 FaceDistance
    • 3.5 FacePosition Class
    • 3.6 FaceOcclusion
    • 3.7 OcclusionStatus Class
    • 3.8 LightIntensity Class
  • 4 FAQ
Powered by GitBook
On this page
  1. 3 SDK Function Library

3.3 ResultCode

Status code and description:

Status code

Description

OK

Normal operation

STID_E_CALL_API_IN_WRONG_STATE

Incorrect method status call

STID_E_LICENSE_INVALID

Authorization verification failed (license file verification failed)

STID_E_MODEL_INVALID

Model file error

STID_E_LICENSE_FILE_NOT_FOUND

License file does not exist

STID_E_LICENSE_BUNDLE_ID_INVALID

Wrong package name

STID_E_LICENSE_EXPIRE

Authorization document expired

STID_E_LICENSE_VERSION_MISMATCH

Failed to pass authorization verification (license file does not match the version of the SDK)

STID_E_LICENSE_PLATFORM_NOT_SUPPORTED

Failed to pass the authorization verification (license authorization file does not support the corresponding system platform)

STID_E_MODEL_FILE_NOT_FOUND

Model file does not exist

STID_E_DETECTION_MODEL_FILE_NOT_FOUND

Face detection model file does not exist

STID_E_ALIGNMENT_MODEL_FILE_NOT_FOUND

The alignment model file does not exist

STID_E_FRAME_SELECTOR_MODEL_FILE_NOT_FOUND

Frame selector model file does not exist

STID_E_ANTI_SPOOFING_MODEL_FILE_NOT_FOUND

The anti-spoofing model file does not exist

STID_E_API_KEY_INVALID

API_KEY or API_SECRET error

STID_E_MODEL_EXPIRE

Model file expired

STID_E_SERVER_ACCESS

Server access error (commonly caused by poor network conditions)

STID_E_CHECK_CONFIG_FAIL

Failed to pass liveness detection (liveness detection failed due to the detection configuration error)

STID_E_DETECT_FAIL

Failed to pass liveness detection (liveness detection failed)

STID_E_HACK

Failed to pass liveness detection (spoofing is detected)

STID_E_SERVER_TIMEOUT

Network request timeout

STID_E_INVALID_ARGUMENTS

Parameter setting is invalid

Previous3.2 OnLivenessListenerNext3.4 FaceDistance

Last updated 3 years ago