Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

SupportSQLiteOpenHelper.Configuration.Builder

public static class SupportSQLiteOpenHelper.Configuration.Builder
extends Object

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


Builder class for SupportSQLiteOpenHelper.Configuration.

Summary

Public methods

SupportSQLiteOpenHelper.Configuration build()

Throws an IllegalArgumentException if the SupportSQLiteOpenHelper.Callback is null.

SupportSQLiteOpenHelper.Configuration.Builder callback(SupportSQLiteOpenHelper.Callback callback)
SupportSQLiteOpenHelper.Configuration.Builder name(String name)
SupportSQLiteOpenHelper.Configuration.Builder noBackupDirectory(boolean useNoBackUpDirectory)

Sets whether to use a no backup directory or not.

Inherited methods

Public methods

callback

public 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

public 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

noBackupDirectory

public SupportSQLiteOpenHelper.Configuration.Builder noBackupDirectory (boolean useNoBackUpDirectory)

Sets whether to use a no backup directory or not.

Parameters
useNoBackUpDirectory boolean: If true the database file will be stored in the no-backup directory.

Returns
SupportSQLiteOpenHelper.Configuration.Builder this