이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

SupportSQLiteOpenHelper.Factory

public static interface SupportSQLiteOpenHelper.Factory

androidx.sqlite.db.SupportSQLiteOpenHelper.Factory


Factory class to create instances of SupportSQLiteOpenHelper using SupportSQLiteOpenHelper.Configuration.

Summary

Public methods

abstract SupportSQLiteOpenHelper create(SupportSQLiteOpenHelper.Configuration configuration)

Creates an instance of SupportSQLiteOpenHelper using the given configuration.

Public methods

create

public abstract SupportSQLiteOpenHelper create (SupportSQLiteOpenHelper.Configuration configuration)

Creates an instance of SupportSQLiteOpenHelper using the given configuration.

Parameters
configuration SupportSQLiteOpenHelper.Configuration: The configuration to use while creating the open helper.

Returns
SupportSQLiteOpenHelper A SupportSQLiteOpenHelper which can be used to open a database.