Added in API level 11
DatabaseErrorHandler
interface DatabaseErrorHandler
| android.database.DatabaseErrorHandler |
An interface to let apps define an action to take when database corruption is detected.
Summary
| Public methods | |
|---|---|
| abstract Unit |
onCorruption(dbObj: SQLiteDatabase!)The method invoked when database corruption is detected. |
Public methods
onCorruption
Added in API level 11
abstract fun onCorruption(dbObj: SQLiteDatabase!): Unit
The method invoked when database corruption is detected.
| Parameters | |
|---|---|
dbObj |
SQLiteDatabase!: the SQLiteDatabase object representing the database on which corruption is detected. |