Package android.database
Interface DatabaseErrorHandler
-
- All Known Implementing Classes:
DefaultDatabaseErrorHandler
public interface DatabaseErrorHandlerAn interface to let apps define an action to take when database corruption is detected.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCorruption(SQLiteDatabase dbObj)The method invoked when database corruption is detected.
-
-
-
Method Detail
-
onCorruption
void onCorruption(SQLiteDatabase dbObj)
The method invoked when database corruption is detected.- Parameters:
dbObj- theSQLiteDatabaseobject representing the database on which corruption is detected.
-
-