public interface DatabaseErrorHandler
| android.database.DatabaseErrorHandler |
| |
让应用程序定义检测到数据库损坏时采取的操作的界面。
公共方法(Public methods) |
|
|---|---|
abstract void |
onCorruption(SQLiteDatabase dbObj) 检测到数据库损坏时调用该方法。 |
void onCorruption (SQLiteDatabase dbObj)
检测到数据库损坏时调用该方法。
| 参数(Parameters) | |
|---|---|
dbObj |
SQLiteDatabase: the SQLiteDatabase object representing the database on which corruption is detected. |