Class SuggestResult

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLabel()
      Gets a label containing the suggestion text.
      boolean isCollection()
      Indicates if this suggestion is related to a category or group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Gets a label containing the suggestion text. This can be used to display suggestion results.
        Returns:
        a label containing the suggestion text
        Since:
        100.0.0
      • isCollection

        public boolean isCollection()
        Indicates if this suggestion is related to a category or group. Suggestions can be related to a category or group such as 'coffee', or some business name for example 'Starbucks'.
        Returns:
        true if suggestion related to category or group, false otherwise
        Since:
        100.6.0