다음을 통해 공유


DefaultDatabaseErrorHandler.OnCorruption(SQLiteDatabase) Method

Definition

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

[Android.Runtime.Register("onCorruption", "(Landroid/database/sqlite/SQLiteDatabase;)V", "")]
public void OnCorruption (Android.Database.Sqlite.SQLiteDatabase? dbObj);
[<Android.Runtime.Register("onCorruption", "(Landroid/database/sqlite/SQLiteDatabase;)V", "")>]
abstract member OnCorruption : Android.Database.Sqlite.SQLiteDatabase -> unit
override this.OnCorruption : Android.Database.Sqlite.SQLiteDatabase -> unit

Parameters

dbObj
SQLiteDatabase

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

Implements

Attributes

Remarks

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

Java documentation for android.database.DefaultDatabaseErrorHandler.onCorruption(android.database.sqlite.SQLiteDatabase).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to