Package ai.nextbillion.maps.model
Class AutocompleteStructuredFormatting
java.lang.Object
ai.nextbillion.maps.model.AutocompleteStructuredFormatting
- All Implemented Interfaces:
java.io.Serializable
public class AutocompleteStructuredFormatting
extends java.lang.Object
implements java.io.Serializable
The structured formatting info for a
AutocompletePrediction.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringmainTextThe main text of a prediction, usually the name of the place.AutocompletePrediction.MatchedSubstring[]mainTextMatchedSubstringsWhere the query matched the returned main text.java.lang.StringsecondaryTextThe secondary text of a prediction, usually the location of the place. -
Constructor Summary
Constructors Constructor Description AutocompleteStructuredFormatting() -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
Field Details
-
mainText
public java.lang.String mainTextThe main text of a prediction, usually the name of the place. -
mainTextMatchedSubstrings
Where the query matched the returned main text. -
secondaryText
public java.lang.String secondaryTextThe secondary text of a prediction, usually the location of the place.
-
-
Constructor Details
-
AutocompleteStructuredFormatting
public AutocompleteStructuredFormatting()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-