Język

SetSchemaRequest.Builder.AddSchemas Method

Definition

Overloads

Name Description
AddSchemas(AppSearchSchema[])

Adds one or more AppSearchSchema types to the schema.

AddSchemas(ICollection<AppSearchSchema>)

Adds a collection of AppSearchSchema objects to the schema.

AddSchemas(AppSearchSchema[])

Adds one or more AppSearchSchema types to the schema.

[Android.Runtime.Register("addSchemas", "([Landroid/app/appsearch/AppSearchSchema;)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SetSchemaRequest.Builder AddSchemas(params Android.App.AppSearch.AppSearchSchema[] schemas);
[<Android.Runtime.Register("addSchemas", "([Landroid/app/appsearch/AppSearchSchema;)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)>]
member this.AddSchemas : Android.App.AppSearch.AppSearchSchema[] -> Android.App.AppSearch.SetSchemaRequest.Builder

Parameters

schemas
AppSearchSchema[]

The schemas to store in the request, indexed by schema type.

Returns

This builder instance.

Attributes

Remarks

Adds one or more AppSearchSchema types to the schema. An AppSearchSchema object represents one type of structured data. Any documents of these types will be displayed on system UI surfaces by default.

Android reference for android.app.appsearch.SetSchemaRequest.Builder.addSchemas.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddSchemas(ICollection<AppSearchSchema>)

Adds a collection of AppSearchSchema objects to the schema.

[Android.Runtime.Register("addSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.SetSchemaRequest.Builder AddSchemas(System.Collections.Generic.ICollection<Android.App.AppSearch.AppSearchSchema> schemas);
[<Android.Runtime.Register("addSchemas", "(Ljava/util/Collection;)Landroid/app/appsearch/SetSchemaRequest$Builder;", "", ApiSince=31)>]
member this.AddSchemas : System.Collections.Generic.ICollection<Android.App.AppSearch.AppSearchSchema> -> Android.App.AppSearch.SetSchemaRequest.Builder

Parameters

schemas
ICollection<AppSearchSchema>

The schemas to store in the request, indexed by schema type.

Returns

This builder instance.

Attributes

Remarks

Adds a collection of AppSearchSchema objects to the schema. An AppSearchSchema object represents one type of structured data.

Android reference for android.app.appsearch.SetSchemaRequest.Builder.addSchemas.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to