GenericDocument.Builder.SetPropertyDouble(String, Double[]) Method

Definition

Sets one or multiple double values for a property, replacing its previous values.

[Android.Runtime.Register("setPropertyDouble", "(Ljava/lang/String;[D)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyDouble_Ljava_lang_String_arrayDHandler", ApiSince=31)]
public virtual Java.Lang.Object SetPropertyDouble(string name, params double[] values);
[<Android.Runtime.Register("setPropertyDouble", "(Ljava/lang/String;[D)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyDouble_Ljava_lang_String_arrayDHandler", ApiSince=31)>]
abstract member SetPropertyDouble : string * double[] -> Java.Lang.Object
override this.SetPropertyDouble : string * double[] -> 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
Double[]

the double values of the property. This value cannot be null.

Returns

Attributes

Remarks

Sets one or multiple double values for a property, replacing its previous values.

Android reference for android.app.appsearch.GenericDocument.Builder.setPropertyDouble.

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