Class AutocompletePrediction.Term

java.lang.Object
ai.nextbillion.maps.model.AutocompletePrediction.Term
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AutocompletePrediction

public static class AutocompletePrediction.Term
extends java.lang.Object
implements java.io.Serializable
Identifies each section of the returned description. (A section of the description is generally terminated with a comma.)
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int offset
    The start position of this term in the description, measured in Unicode characters.
    java.lang.String value
    The text of the matched term.
  • Constructor Summary

    Constructors 
    Constructor Description
    Term()  
  • 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
  • Field Details

    • offset

      public int offset
      The start position of this term in the description, measured in Unicode characters.
    • value

      public java.lang.String value
      The text of the matched term.
  • Constructor Details

    • Term

      public Term()
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object