Sdílet prostřednictvím


SearchResult.MatchInfos Property

Definition

Returns a list of MatchInfos providing information about how the document in #getGenericDocument matched the query.

public System.Collections.Generic.IList<Android.App.AppSearch.SearchResult.MatchInfo> MatchInfos { [Android.Runtime.Register("getMatchInfos", "()Ljava/util/List;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMatchInfos", "()Ljava/util/List;", "", ApiSince=31)>]
member this.MatchInfos : System.Collections.Generic.IList<Android.App.AppSearch.SearchResult.MatchInfo>

Property Value

List of matches based on SearchSpec. If snippeting is disabled using SearchSpec.Builder#setSnippetCount or SearchSpec.Builder#setSnippetCountPerProperty, for all results after that value, this method returns an empty list.

Attributes

Remarks

Java documentation for android.app.appsearch.SearchResult.getMatchInfos().

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