AppDatabase

abstract class AppDatabase : RoomDatabase

The Room database provider for the application. It provides access to the models and offloading services stored in the local database.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Companion object to create and get an instance of the database. Ensures only one instance of the database is created.

Functions

Link copied to clipboard
abstract fun modelDao(): ModelDao

The DAO for the model entity. Provides methods to interact with the model table.

Link copied to clipboard

The DAO for the offloading service entity. Provides methods to interact with the offloading service table.