Language

SearchResult.MatchInfo.Builder(String) Constructor

Definition

Creates a new MatchInfo.Builder reporting a match with the given property path.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)]
public Builder(string propertyPath);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)>]
new Android.App.AppSearch.SearchResult.MatchInfo.Builder : string -> Android.App.AppSearch.SearchResult.MatchInfo.Builder

Parameters

propertyPath
String

A dot-delimited sequence of property names indicating which property in the document these snippets correspond to. This value cannot be null.

Attributes

Remarks

Creates a new MatchInfo.Builder reporting a match with the given property path. A property path is a dot-delimited sequence of property names indicating which property in the document these snippets correspond to. Example properties: 'body', 'sender.name', 'sender.emailaddress', etc. For class example 1, this returns "subject".

Android reference for android.app.appsearch.SearchResult.MatchInfo.Builder.Builder.

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