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.String mainText
    The main text of a prediction, usually the name of the place.
    AutocompletePrediction.MatchedSubstring[] mainTextMatchedSubstrings
    Where the query matched the returned main text.
    java.lang.String secondaryText
    The 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.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait