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

From class java.lang.Object
Object clone()
boolean equals(Object arg0)
void finalize()
final Class<?> getClass()
int hashCode()
final void notify()
final void notifyAll()
String toString()
final void wait(long arg0, int arg1)
final void wait(long arg0)
final void wait()

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

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 2025年02月10日 UTC.