belongs to Maven artifact android.arch.persistence:db:1.1.0-beta2
SupportSQLiteOpenHelper.Configuration
public
static
class
SupportSQLiteOpenHelper.Configuration
extends Object
java.lang.Object | |
↳ | android.arch.persistence.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 |
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.
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 |
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.