init

fun init(app: Application, lunaConfig: LunaConfig, areDescriptorsEnabled: Boolean = false, apiHumanConfig: ApiHumanConfig? = null, onlineLivenessSettings: LivenessSettings = LivenessSettingsAlwaysDisabled)

Parameters

apiHumanConfig

can be set to null when no Platform API calls are required. this will also disable liveness check regardless of onlineLivenessSettings argument

onlineLivenessSettings

defines whether camera will make online liveness check or not