GenericDocument.Builder.SetPropertyEmbedding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets one or multiple EmbeddingVector values for a property, replacing its previous values.
[Android.Runtime.Register("setPropertyEmbedding", "(Ljava/lang/String;[Landroid/app/appsearch/EmbeddingVector;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyEmbedding_Ljava_lang_String_arrayLandroid_app_appsearch_EmbeddingVector_Handler", ApiSince=36)]
public virtual Java.Lang.Object SetPropertyEmbedding(string name, params Android.App.AppSearch.EmbeddingVector[] values);
[<Android.Runtime.Register("setPropertyEmbedding", "(Ljava/lang/String;[Landroid/app/appsearch/EmbeddingVector;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyEmbedding_Ljava_lang_String_arrayLandroid_app_appsearch_EmbeddingVector_Handler", ApiSince=36)>]
abstract member SetPropertyEmbedding : string * Android.App.AppSearch.EmbeddingVector[] -> Java.Lang.Object
override this.SetPropertyEmbedding : string * Android.App.AppSearch.EmbeddingVector[] -> Java.Lang.Object
Parameters
- name
- String
the name associated with the values. Must match the name for this property as given in AppSearchSchema.PropertyConfig.getName. This value cannot be null.
- values
- EmbeddingVector[]
the EmbeddingVector values of the property. This value cannot be null.
Returns
- Attributes
Remarks
Sets one or multiple EmbeddingVector values for a property, replacing its previous values.
Android reference for android.app.appsearch.GenericDocument.Builder.setPropertyEmbedding.
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.