SearchResult.MatchInfo.Builder(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.