Most visited

Recently visited

Added in API level 11

DatabaseErrorHandler

public interface DatabaseErrorHandler

android.database.DatabaseErrorHandler
Known Indirect Subclasses


让应用程序定义检测到数据库损坏时采取的操作的界面。

Summary

Public methods

abstract void onCorruption(SQLiteDatabase dbObj)

检测到数据库损坏时调用该方法。

Public methods

onCorruption

Added in API level 11
void onCorruption (SQLiteDatabase dbObj)

检测到数据库损坏时调用该方法。

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

Hooray!