lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.1.0
belongs to Maven artifact android.arch.persistence:db:1.1.0-beta2

SupportSQLiteOpenHelper.Configuration.Builder

public static class SupportSQLiteOpenHelper.Configuration.Builder
extends Object

java.lang.Object
   ↳ android.arch.persistence.db.SupportSQLiteOpenHelper.Configuration.Builder


Builder class for SupportSQLiteOpenHelper.Configuration.

Summary

Public methods

SupportSQLiteOpenHelper.Configuration build()
SupportSQLiteOpenHelper.Configuration.Builder callback(SupportSQLiteOpenHelper.Callback callback)
SupportSQLiteOpenHelper.Configuration.Builder name(String name)

Inherited methods

Public methods

callback

added in version 1.1.0
SupportSQLiteOpenHelper.Configuration.Builder callback (SupportSQLiteOpenHelper.Callback callback)

Parameters
callback SupportSQLiteOpenHelper.Callback: The callback class to handle creation, upgrade and downgrade.

Returns
SupportSQLiteOpenHelper.Configuration.Builder this

name

added in version 1.1.0
SupportSQLiteOpenHelper.Configuration.Builder name (String name)

Parameters
name String: Name of the database file, or null for an in-memory database.

Returns
SupportSQLiteOpenHelper.Configuration.Builder This