# Print output for @column tags ?> DatabaseErrorHandler - Android SDK | Android Developers

Most visited

Recently visited

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

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.