Class SuggestResult
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.geocode.SuggestResult
-
public final class SuggestResult extends Object
Represents an instance of a result from a suggest operation.- Since:
- 100.0.0
- See Also:
LocatorTask.suggestAsync(String)
,LocatorTask.suggestAsync(String, SuggestParameters)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
Gets a label containing the suggestion text.boolean
isCollection()
Indicates if this suggestion is related to a category or group.
-
-
-
Method Detail
-
getLabel
public 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
-
-