validateHeader

fun validateHeader(header: ByteArray, expectedVersion: Int = SCHEMA_VERSION): DatabaseBackup.Validation(source)

Checks the SQLite magic string and that user_version (where Room stores the schema version) matches.