Companion

object Companion

Properties

Link copied to clipboard

Whether the SDK has been initialized with an API key or device token.

Functions

Link copied to clipboard
fun initialize(proxyEndpoint: String, context: Any? = null, debugLogging: Boolean = false, preload: Set<AIModel> = AIModels.DEFAULT)

Initialize SDK with proxy endpoint for secure production deployment.

Link copied to clipboard
fun initializeForServer(apiKey: String, context: Any? = null, debugLogging: Boolean = false, preload: Set<AIModel> = AIModels.DEFAULT)

Initialize SDK with API key for server-side, desktop, or non-mobile environments.

Link copied to clipboard
fun initializeWithAttestation(apiKey: String, context: Any? = null, debugLogging: Boolean = false, preload: Set<AIModel> = AIModels.DEFAULT, callback: VT.InitCallback)

Initialize SDK using platform attestation for apps without a backend server.