Configuration
open class Configuration
kotlin.Any | |
↳ | androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration |
The configuration to create an SQLite open helper object using Factory
.
Summary
Nested classes | |
---|---|
open |
Builder class for |
Public methods | |
---|---|
open static SupportSQLiteOpenHelper.Configuration.Builder |
Creates a new Configuration. |
Properties | |
---|---|
SupportSQLiteOpenHelper.Callback |
The callback class to handle creation, upgrade and downgrade. |
Context |
Context to use to open or create the database. |
String? |
Name of the database file, or null for an in-memory database. |
Boolean |
If |
Public methods
builder
@NonNull open static fun builder(@NonNull context: Context): SupportSQLiteOpenHelper.Configuration.Builder
Creates a new Configuration.Builder to create an instance of Configuration.
Parameters | |
---|---|
context |
Context: to use to open or create the database. |
Properties
callback
@NonNull val callback: SupportSQLiteOpenHelper.Callback
The callback class to handle creation, upgrade and downgrade.
useNoBackupDirectory
val useNoBackupDirectory: Boolean
If true
the database will be stored in the no-backup directory.