Package globus.glsearch
Class GLSearchCategories
java.lang.Object
globus.glmap.GLNativeObject
globus.glsearch.GLSearchCategories
GLSearchCategories
class holds a set of `GLSearchCategory` that will be used to sort
search results by priority.-
Method Summary
Modifier and TypeMethodDescriptionfindByIconName
(String iconName) findByName
(String name) static GLSearchCategories
Shared categories.getStartedWith
(String[] words, GLMapLocaleSettings localeSettings) Returns categories that starts with given wordsgetTop()
Methods inherited from class globus.glmap.GLNativeObject
dispose
-
Method Details
-
getTop
- Returns:
- Returns top categories
-
getStartedWith
@Nullable public GLSearchCategory[] getStartedWith(@NonNull String[] words, @NonNull GLMapLocaleSettings localeSettings) Returns categories that starts with given words- Parameters:
words
- Words arraylocaleSettings
- Language priority settings- Returns:
- Matched array of categories
-
findByName
- Parameters:
name
- name of category- Returns:
- Returns category with given name.
-
findByIconName
- Parameters:
iconName
- Icon name- Returns:
- Returns category with given name.