createSupportSQLiteOpenHelperFactory
fun createSupportSQLiteOpenHelperFactory(journalMode: SQLiteJournalMode, key: ByteArray?): SupportSQLiteOpenHelper.Factory(source)
Creates a legacy Room factory for Selekt-backed databases.
The supplied key remains owned by the caller and is never modified. The returned factory snapshots the key before this function returns, so the caller should clear the supplied array immediately afterwards. For deterministic cleanup of the factory's private snapshot, construct and close SupportSQLiteOpenHelperFactory directly.
fun createSupportSQLiteOpenHelperFactory(journalMode: SQLiteJournalMode, databaseConfiguration: DatabaseConfiguration, key: ByteArray?): SupportSQLiteOpenHelper.Factory(source)
Creates a legacy Room factory with an explicit database configuration.