Android Studio Sign in

ProvidedAutoMigrationSpec


@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
public annotation ProvidedAutoMigrationSpec


Marks a class as an auto migration spec that will be provided to Room at runtime.

An instance of a class annotated with this annotation has to be provided to Room using Room.databaseBuilder.addAutoMigrationSpec(AutoMigrationSpec). Room will verify that the spec is provided in the builder configuration and if not, an IllegalArgumentException will be thrown.

Summary

Public constructors

Public constructors

ProvidedAutoMigrationSpec

public ProvidedAutoMigrationSpec()
Morty Proxy This is a proxified and sanitized view of the page, visit original site.