ProvidedAutoMigrationSpec



Marks a androidx.room3.migration.AutoMigrationSpec class that will be provided to Room at runtime.

An instance of a class annotated with this annotation has to be provided to the Room database using androidx.room3.RoomDatabase.Builder.addAutoMigrationSpec. Room will verify that the spec is provided in the builder and if not, it will throw an exception.

Summary

Public constructors

Cmn

Public constructors

ProvidedAutoMigrationSpec

ProvidedAutoMigrationSpec()