# Print output for @column tags ?>
public
final
class
GetSchemaResponse
extends Object
java.lang.Object | |
↳ | android.app.appsearch.GetSchemaResponse |
The response class of AppSearchSession#getSchema
Nested classes | |
---|---|
class |
GetSchemaResponse.Builder
Builder for |
Public methods | |
---|---|
Set<AppSearchSchema>
|
getSchemas()
Return the schemas most recently successfully provided to |
int
|
getVersion()
Returns the overall database schema version. |
Inherited methods | |
---|---|
public Set<AppSearchSchema> getSchemas ()
Return the schemas most recently successfully provided to AppSearchSession#setSchema
.
It is inefficient to call this method repeatedly.
Returns | |
---|---|
Set<AppSearchSchema> |
This value cannot be null . |
public int getVersion ()
Returns the overall database schema version.
If the database is empty, 0 will be returned.
Returns | |
---|---|
int |
Value is 0 or greater |