Added in API level 11

DatabaseErrorHandler

public interface DatabaseErrorHandler

android.database.DatabaseErrorHandler


An interface to let apps define an action to take when database corruption is detected.

Summary

Public methods

abstract void onCorruption(SQLiteDatabase dbObj)

The method invoked when database corruption is detected.

Public methods

onCorruption

Added in API level 11
public abstract void onCorruption (SQLiteDatabase dbObj)

The method invoked when database corruption is detected.

Parameters
dbObj SQLiteDatabase: the SQLiteDatabase object representing the database on which corruption is detected.