Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Builder

open class Builder
kotlin.Any
   ↳ androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder

Builder class for Configuration.

Summary

Public methods

open SupportSQLiteOpenHelper.Configuration!

open SupportSQLiteOpenHelper.Configuration.Builder!

open SupportSQLiteOpenHelper.Configuration.Builder!
name(@Nullable name: String?)

Public methods

build

open fun build(): SupportSQLiteOpenHelper.Configuration!

callback

open fun callback(@NonNull callback: SupportSQLiteOpenHelper.Callback): SupportSQLiteOpenHelper.Configuration.Builder!
Parameters
callback SupportSQLiteOpenHelper.Callback: The callback class to handle creation, upgrade and downgrade.
Return
SupportSQLiteOpenHelper.Configuration.Builder!: this

name

open fun name(@Nullable name: String?): SupportSQLiteOpenHelper.Configuration.Builder!
Parameters
name String?: Name of the database file, or null for an in-memory database.
Return
SupportSQLiteOpenHelper.Configuration.Builder!: This