Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

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 Configuration.

Public methods
open static SupportSQLiteOpenHelper.Configuration.Builder
builder(@NonNull context: Context)

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 true the database will be stored in the no-backup directory.

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.

context

@NonNull val context: Context

Context to use to open or create the database.

name

@Nullable val name: String?

Name of the database file, or null for an in-memory database.

useNoBackupDirectory

val useNoBackupDirectory: Boolean

If true the database will be stored in the no-backup directory.