DebugExtension

class DebugExtension(sqlDriver: SqlDriver, isEncrypted: Boolean, metaDataDao: MetadataDAO)

Constructors

Link copied to clipboard
constructor(sqlDriver: SqlDriver, isEncrypted: Boolean, metaDataDao: MetadataDAO)

Functions

Link copied to clipboard
suspend fun changeProfiling(enabled: Boolean): Long?

Changes the profiling of the database (cipher_profile) if the profile is specified and the database is encrypted

Link copied to clipboard
suspend fun observeIsProfilingEnabled(): Flow<Boolean>
Link copied to clipboard
fun sqlCipherVersion(): String?

Reads the SQLCipher version from the already-open database driver. No key material or database contents are exposed by this query.