PersistentDatabase
Main Room database containing generated images, downloaded models, and app statistics.
Schema version 12 adds NetworkUsageEntity so traffic counters survive process restarts and can be observed by the standalone network usage screen.
Author
Dmitriy Moroz
Types
Functions
Link copied to clipboard
Link copied to clipboard
Executes the benchmarkResultDao step in the SDAI storage layer.
Link copied to clipboard
expect open fun createAutoMigrations(autoMigrationSpecs: Map<KClass<out AutoMigrationSpec>, AutoMigrationSpec>): List<Migration>
Link copied to clipboard
internal expect fun createConnectionManager(configuration: DatabaseConfiguration): RoomConnectionManager
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Executes the generationResultDao step in the SDAI storage layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Executes the huggingFaceModelDao step in the SDAI storage layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Executes the localModelDao step in the SDAI storage layer.
Link copied to clipboard
Returns the DAO used to persist and observe network traffic counters.
Link copied to clipboard
Executes the supporterDao step in the SDAI storage layer.
Link copied to clipboard