DocsSDKsKotlin
Kotlin SDK for Android
Planned Kotlin SDK wrapper documentation.
Planned Gradle Dependency Setup
Include the library dependency inside your `build.gradle` configuration:
groovy
implementation 'com.verilens:verilens-android-sdk:1.0.0-beta'Planned Android Kotlin SDK Usage
Call VeriLens programmatically inside your Android activity scope:
kotlin
import com.verilens.sdk.VeriLensval verilens = VeriLens("vl_live_example_key_123")verilens.verify("Government raises income tax rate to 50% for all workers.") { result ->if (result.isSuccess) {val verification = result.getOrNull()Log.d("VeriLens", "Verdict: ${verification?.verdict}")} else {Log.e("VeriLens", "Failed: ${result.exceptionOrNull()?.message}")}}
