AppSearchBatchResult.Builder.SetSuccess(Object, Object) 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.
Records a successful operation value for a key.
[Android.Runtime.Register("setSuccess", "(Ljava/lang/Object;Ljava/lang/Object;)Landroid/app/appsearch/AppSearchBatchResult$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchBatchResult.Builder SetSuccess(Java.Lang.Object key, Java.Lang.Object? value);
[<Android.Runtime.Register("setSuccess", "(Ljava/lang/Object;Ljava/lang/Object;)Landroid/app/appsearch/AppSearchBatchResult$Builder;", "", ApiSince=31)>]
member this.SetSuccess : Java.Lang.Object * Java.Lang.Object -> Android.App.AppSearch.AppSearchBatchResult.Builder
Parameters
- key
- Object
The key under which to record the successful value.
- value
- Object
The value to store in the successful result; this can be null.
Returns
This builder instance.
- Attributes
Remarks
A previous failure for the key is removed. A null value is permitted for a successful operation.