Home » Google » Associate Android Developer » What annotation processor property you should set in your app/ build.gradle file to export the schema?
Room can export your database’s schema information into a JSON file at compile time. What annotation processor property you should set in your app/ build.gradle file to export the schema?
A. room.expandProjection
B. room.incremental
C. room.schemaLocation
Correct Answer: C
Explanation/Reference: android {
… defaultConfig {
… javaCompileOptions { annotationProcessorOptions { arguments += [“room.schemaLocation”: “$projectDir/ schemas”.toString()]
}
}
} }
Download Printable PDF. VALID exam to help you PASS.
|
|