Integration of AdvanceAI Liveness SDKs - https://in.advance.ai/iframe?apiname=https%3A%2F%2Fdoc.advance.ai%2Fph%2Fliveness_detection.html%23liveness-detection

Function

Params

Description

initSDK

accessKey

secretKey

market

Not used

initSDKOfLicense

market

Initialize Liveness SDK. Needs to be called before any other Liveness plugin method

setLicenseAndCheck

license

Sets license to SDK

startLivenessDetection

title (texts shown in liveness check page)

securityInfo (texts shown in liveness check page)

Triggers liveness verification from SDK.

Returns LIVENESS_ID, which can be used to retrieve collected liveness from AdvAI BE

setActionSequence

shuffle

actionSequence

not used (defines order in which verification action should be done)

bindUser

userId

Not used

getSDKVersion

Not used

getLatestDetectionResult

Not used