customer-android-kotlin

//core/com.kustomer.core/KustomerCore/Companion

Companion

[androidJvm]
object Companion

Functions

Name Summary
getInstance [androidJvm]
fun getInstance(): <Error class: unknown class>
init [androidJvm]
fun init(application: Application, apiKey: String, kustomerCoreOptions: KustomerCoreOptions? = null): KusResult<Boolean>
Initializes Kustomer Core instance Should be called from Application class only
logLevel [androidJvm]
fun logLevel(): KusLogLevel
resetForTesting [androidJvm]
@VisibleForTesting
fun resetForTesting(): <Error class: unknown class>
Clears the singleton so tests can reproduce launch-before-init (PROD-316). Calls cleanup on the previous instance when present. Public so :ui tests can reset across the module boundary (internal is per-module).