to top
Android APIs
Added in API level 11
public interface

DatabaseErrorHandler

android.database.DatabaseErrorHandler
Known Indirect Subclasses

Class Overview

An interface to let the apps define the actions to take when the following errors are detected database corruption

Summary

Public Methods
abstract void onCorruption(SQLiteDatabase dbObj)
defines the method to be invoked when database corruption is detected.

Public Methods

public abstract void onCorruption (SQLiteDatabase dbObj)

Added in API level 11

defines the method to be invoked when database corruption is detected.

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