AppDatabase

abstract class AppDatabase : RoomDatabase

Class that encapsulates database interactions

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open fun beginTransaction()
Link copied to clipboard
Link copied to clipboard
abstract fun clearAllTables()
Link copied to clipboard
open fun close()
Link copied to clipboard
Link copied to clipboard
abstract fun deviceDao(): DeviceDao
Link copied to clipboard
open fun endTransaction()
Link copied to clipboard
Link copied to clipboard
open fun <T> getTypeConverter(klass: Class<T>): T?
Link copied to clipboard
open fun init(configuration: DatabaseConfiguration)
Link copied to clipboard
Link copied to clipboard
open fun query(query: String, args: Array<out Any?>?): Cursor
Link copied to clipboard
abstract fun recordDao(): RecordDao
Link copied to clipboard
open fun runInTransaction(body: Runnable)
open fun <V> runInTransaction(body: Callable<V>): V
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val isOpen: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard