Freigeben über


AppSearchBatchResult.Successes Property

Definition

Returns a Map of keys mapped to instances of the value type for all successful individual results.

public System.Collections.IDictionary Successes { [Android.Runtime.Register("getSuccesses", "()Ljava/util/Map;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSuccesses", "()Ljava/util/Map;", "", ApiSince=31)>]
member this.Successes : System.Collections.IDictionary

Property Value

Attributes

Remarks

Returns a Map of keys mapped to instances of the value type for all successful individual results.

Example: AppSearchSession#getByDocumentId returns an AppSearchBatchResult. Each key (the document ID, of String type) will map to a GenericDocument object.

The values of the Map will not be null.

Java documentation for android.app.appsearch.AppSearchBatchResult.getSuccesses().

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