Skip to content

Most visited

Recently visited

navigation
Added in API level 11

DatabaseErrorHandler

public interface DatabaseErrorHandler

android.database.DatabaseErrorHandler
Known Indirect Subclasses


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
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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.