belongs to Maven artifact androidx.sqlite:sqlite:2.0.0-alpha1

SupportSQLiteOpenHelper.Configuration

public static class SupportSQLiteOpenHelper.Configuration
extends Object

java.lang.Object
   ↳ androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration


The configuration to create an SQLite open helper object using SupportSQLiteOpenHelper.Factory.

Summary

Nested classes

class SupportSQLiteOpenHelper.Configuration.Builder

Builder class for SupportSQLiteOpenHelper.Configuration

Fields

public final SupportSQLiteOpenHelper.Callback callback

The callback class to handle creation, upgrade and downgrade.

public final Context context

Context to use to open or create the database.

public final String name

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

Public methods

static SupportSQLiteOpenHelper.Configuration.Builder builder(Context context)

Creates a new Configuration.Builder to create an instance of Configuration.

Inherited methods

Fields

callback

SupportSQLiteOpenHelper.Callback callback

The callback class to handle creation, upgrade and downgrade.

context

Context context

Context to use to open or create the database.

name

String name

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

Public methods

builder

SupportSQLiteOpenHelper.Configuration.Builder builder (Context context)

Creates a new Configuration.Builder to create an instance of Configuration.

Parameters
context Context: to use to open or create the database.

Returns
SupportSQLiteOpenHelper.Configuration.Builder