Compartilhar via


SearchResult.MatchInfo.SubmatchFormatted Property

Definition

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

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

Property Value

Attributes

Remarks

Gets the exact term subsequence 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 "Test".

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

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