# Print output for @column tags ?>
public
static
final
class
AppSearchSchema.Builder
extends Object
| java.lang.Object | |
| ↳ | android.app.appsearch.AppSearchSchema.Builder |
Builder for objects.
Public constructors | |
|---|---|
Builder(String schemaType)
Creates a new |
|
Public methods | |
|---|---|
AppSearchSchema.Builder
|
addProperty(AppSearchSchema.PropertyConfig propertyConfig)
Adds a property to the given type. |
AppSearchSchema
|
build()
Constructs a new |
Inherited methods | |
|---|---|
public Builder (String schemaType)
Creates a new AppSearchSchema.Builder.
| Parameters | |
|---|---|
schemaType |
String: This value cannot be null. |
public AppSearchSchema.Builder addProperty (AppSearchSchema.PropertyConfig propertyConfig)
Adds a property to the given type.
| Parameters | |
|---|---|
propertyConfig |
AppSearchSchema.PropertyConfig: This value cannot be null. |
| Returns | |
|---|---|
AppSearchSchema.Builder |
This value cannot be null. |
public AppSearchSchema build ()
Constructs a new AppSearchSchema from the contents of this builder.
| Returns | |
|---|---|
AppSearchSchema |
This value cannot be null. |