SQLCipherSupportHelper

class SQLCipherSupportHelper(configuration: SupportSQLiteOpenHelper.Configuration, hook: SQLiteDatabaseHook?, databaseErrorStrategy: DatabaseErrorStrategy, passphraseFetcher: () -> ByteArray) : SupportSQLiteOpenHelper

A SupportSQLiteOpenHelper which initializes a SQLiteDatabase with a passphrase.

Constructors

SQLCipherSupportHelper
Link copied to clipboard
fun SQLCipherSupportHelper(configuration: SupportSQLiteOpenHelper.Configuration, hook: SQLiteDatabaseHook? = null, databaseErrorStrategy: DatabaseErrorStrategy, passphraseFetcher: () -> ByteArray)

Functions

close
Link copied to clipboard
open override fun close()
getDatabaseName
Link copied to clipboard
open override fun getDatabaseName(): String
getReadableDatabase
Link copied to clipboard
open override fun getReadableDatabase(): SupportSQLiteDatabase?
getWritableDatabase
Link copied to clipboard
open override fun getWritableDatabase(): SupportSQLiteDatabase?
setWriteAheadLoggingEnabled
Link copied to clipboard
open override fun setWriteAheadLoggingEnabled(enabled: Boolean)

Sources

androidJvm source
Link copied to clipboard