GenericDocument.Builder.SetPropertyBlobHandle Method

Definition

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

[Android.Runtime.Register("setPropertyBlobHandle", "(Ljava/lang/String;[Landroid/app/appsearch/AppSearchBlobHandle;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBlobHandle_Ljava_lang_String_arrayLandroid_app_appsearch_AppSearchBlobHandle_Handler", ApiSince=36)]
public virtual Java.Lang.Object SetPropertyBlobHandle(string name, params Android.App.AppSearch.AppSearchBlobHandle[] values);
[<Android.Runtime.Register("setPropertyBlobHandle", "(Ljava/lang/String;[Landroid/app/appsearch/AppSearchBlobHandle;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetPropertyBlobHandle_Ljava_lang_String_arrayLandroid_app_appsearch_AppSearchBlobHandle_Handler", ApiSince=36)>]
abstract member SetPropertyBlobHandle : string * Android.App.AppSearch.AppSearchBlobHandle[] -> Java.Lang.Object
override this.SetPropertyBlobHandle : string * Android.App.AppSearch.AppSearchBlobHandle[] -> 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
AppSearchBlobHandle[]

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

Returns

Attributes

Remarks

Sets one or multiple AppSearchBlobHandle values for a property, replacing its previous values. AppSearchBlobHandle is a pointer to a blob of data. Store large byte via the ParcelFileDescriptor returned from AppSearchSession.openBlobForWrite. Once the blob data is committed via AppSearchSession.commitBlob, the blob is retrievable via AppSearchSession.openBlobForRead.

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

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