Oliphaunt

API Reference

Kotlin and Android SDK API map for configuration, coroutine execution, lifecycle, and resources.

Use the Dokka reference for exact declarations. This page maps the Kotlin SDK surface by task.

AreaPublic surfaceUse it for
OpeningOliphauntDatabase.open, OliphauntConfigOpen a persistent or temporary root from Kotlin code
Android facadeOliphauntAndroidResolve Android resources, ABI assets, and app-context defaults
Runtime modeEngineMode, supportedModes()Discover modes advertised by the selected Android target
CapabilitiesEngineCapabilitiesCheck protocol, streaming, backup, restore, lifecycle, and extension support
SQLquery, execute, QueryResultRun SQL and read typed values from coroutine code
Raw protocolexecProtocolRaw, execProtocolStreamSend PostgreSQL protocol bytes through the serialized session
Transactionstransaction, OliphauntTransactionKeep transaction work inside the pinned session boundary
LifecycleprepareForBackground, resumeFromBackground, cancel, closeCoordinate database work with Android app lifecycle transitions
Data movementbackup, restore, BackupRequestMove app data through validated archives and Android file APIs
ErrorsOliphauntException, PostgresExceptionHandle SDK errors and PostgreSQL SQLSTATE data

Android apps use the Android facade for packaged runtime resources. It keeps native library loading, selected extension assets, and app-private storage in the platform layer.