-
public final class KubesenseSqliteCallback extends AndroidSqliteDriver.CallbackExtends the AndroidSqliteDriver.Callback to intercept any Database corruption callback and to automatically send a RUM error event whenever this issue occurs.
For more information https://www.sqlite.org/howtocorrupt.html
-
-
Constructor Summary
Constructors Constructor Description KubesenseSqliteCallback(SqlDriver.Schema schema, SdkCore sdkCore)KubesenseSqliteCallback(SqlDriver.Schema schema)
-
Method Summary
Modifier and Type Method Description UnitonCorruption(SupportSQLiteDatabase db)-
Methods inherited from class com.squareup.sqldelight.android.AndroidSqliteDriver.Callback
onConfigure, onDowngrade, onOpen -
Methods inherited from class ai.kubesense.android.sqldelight.KubesenseSqliteCallback
onCreate, onUpgrade -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KubesenseSqliteCallback
KubesenseSqliteCallback(SqlDriver.Schema schema, SdkCore sdkCore)
- Parameters:
schema- the SQL database schemasdkCore- the SDK instance to forward the errors to.
-
KubesenseSqliteCallback
KubesenseSqliteCallback(SqlDriver.Schema schema)
- Parameters:
schema- the SQL database schema
-
-
Method Detail
-
onCorruption
Unit onCorruption(SupportSQLiteDatabase db)
-
-
-
-