-
- All Implemented Interfaces:
-
androidx.sqlite.db.SupportSQLiteOpenHelper,java.io.Closeable,java.lang.AutoCloseable
public class SqliteOrgSQLiteOpenHelper implements SupportSQLiteOpenHelper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSqliteOrgSQLiteOpenHelper.OpenHelper
-
Field Summary
Fields Modifier and Type Field Description private final StringdatabaseNameprivate final SupportSQLiteDatabasewritableDatabaseprivate final SupportSQLiteDatabasereadableDatabase
-
Constructor Summary
Constructors Constructor Description SqliteOrgSQLiteOpenHelper(Context context, String path, String name, SupportSQLiteOpenHelper.Callback callback, String password, Function0<Unit> libraryLoaderBlock, DatabaseErrorHandler databaseErrorHandler, Function1<SQLiteDatabase, Unit> onDatabaseConfigureBlock)
-
Method Summary
Modifier and Type Method Description StringgetDatabaseName()SupportSQLiteDatabasegetWritableDatabase()SupportSQLiteDatabasegetReadableDatabase()UnitsetWriteAheadLoggingEnabled(Boolean enabled)Unitclose()-
-
Method Detail
-
getDatabaseName
String getDatabaseName()
-
getWritableDatabase
SupportSQLiteDatabase getWritableDatabase()
-
getReadableDatabase
SupportSQLiteDatabase getReadableDatabase()
-
setWriteAheadLoggingEnabled
Unit setWriteAheadLoggingEnabled(Boolean enabled)
-
-
-
-