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

Public methods

builder

open static fun builder(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

val callback: SupportSQLiteOpenHelper.Callback!

The callback class to handle creation, upgrade and downgrade.

context

val context: Context!

Context to use to open or create the database.

name

val name: String!

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