Package-level declarations

Types

Link copied to clipboard

Provides access to Bible verse data using a VerseRepository.

Link copied to clipboard
actual class DriverFactory
actual class DriverFactory
expect class DriverFactory

Platform-specific factory for creating SQLite database drivers. Each platform (Android, iOS, JVM) provides its own implementation.

Link copied to clipboard
data class VerseEntity(val id: String, val text: String)

Represents a verse entity in the database.

Link copied to clipboard
interface VerseRepository

The Repository for accessing VerseEntity objects.

Functions

Link copied to clipboard
fun createDatabase(filePath: String, driverFactory: DriverFactory): BibleDatabase

Creates and initializes the Bible database from a direct file path. No copying occurs - the database is opened directly from the provided path.

fun createDatabase(driverFactory: DriverFactory, replaceDatabase: Boolean, completionHandler: () -> Unit): BibleDatabase

Creates and initializes the Bible database from assets/bundle.