Sdílet prostřednictvím


SearchResult.MatchInfo.ExactMatchFormatted Property

Definition

Gets the exact term of the given entry that matched the query.

public Java.Lang.ICharSequence ExactMatchFormatted { [Android.Runtime.Register("getExactMatch", "()Ljava/lang/CharSequence;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getExactMatch", "()Ljava/lang/CharSequence;", "", ApiSince=31)>]
member this.ExactMatchFormatted : Java.Lang.ICharSequence

Property Value

Attributes

Remarks

Gets the exact term of the given entry that matched the query.

Class example 1: this returns "foo".

Class example 2: for the first MatchInfo, this returns "Test" and, for the second MatchInfo, this returns "Testing".

Java documentation for android.app.appsearch.SearchResult.MatchInfo.getExactMatch().

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