GenericDocument.Builder.SetPropertyBytes(String, Byte[][]) Method

Definition

Sets one or multiple byte[] for a property, replacing its previous values.

[Android.Runtime.Register("setPropertyBytes", "(Ljava/lang/String;[[B)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBytes_Ljava_lang_String_arrayarrayBHandler", ApiSince=31)]
public virtual Java.Lang.Object SetPropertyBytes(string name, params byte[][] values);
[<Android.Runtime.Register("setPropertyBytes", "(Ljava/lang/String;[[B)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBytes_Ljava_lang_String_arrayarrayBHandler", ApiSince=31)>]
abstract member SetPropertyBytes : string * byte[][] -> Java.Lang.Object
override this.SetPropertyBytes : string * byte[][] -> 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
Byte[][]

the byte[] of the property. This value cannot be null.

Returns

Attributes

Remarks

Sets one or multiple byte[] for a property, replacing its previous values. For large byte data and lazy retrieval, see setPropertyBlobHandle(String, AppSearchBlobHandle).

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

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