KYCIS SDK Docs
Sdk

Core SDK API

Main KYCIS Android SDK methods used by host apps

Initialization

AI.init(application, apiKey, userId, policy)

Bootstraps SDK runtime, networking, passive trigger loop, and remote config fetch.

AI.attach(application)

Attaches lifecycle tracking for better passive signals and screen context quality.

Identity and screen context

AI.setUser(id, phone?, phoneMasked?)

Publishes identity metadata used by backend context and assistant behavior.

AI.setKycStep(step)

Sets active KYC step and triggers lazy schema push/beacon events.

Input + validation telemetry

AI.reportComponentInput(componentId, hint, screen?, componentType?, properties?)

Sends component input hints to backend for context building.

AI.trackValidationFailure(...)

Sends validation failures with component/rule metadata for assistant guidance.

AI.trackError(code, properties?)

Sends generic host-side errors.

Voice control

AI.startAssistant()

Manual start of assistant session.

AI.stopAssistant()

Manual stop of assistant session.

AI.setVoiceSessionListener(listener)

Receives voice session credentials (livekitUrl, room, token) from backend start response.

Dynamic config

AI.getConfig()

Returns merged SDK config (features, thresholds, metadata) and can be used by host UI logic when behavior must be aligned with backend policy.

On this page