@ParametersAreNonnullByDefault
public class GLSearchCategories
extends com.getyourmap.glmap.GLNativeObject
GLSearchCategories class holds a set of `GLSearchCategory` that will be used to sort search results by priority.| Modifier and Type | Method and Description |
|---|---|
GLSearchCategory |
findByIconName(java.lang.String iconName) |
GLSearchCategory |
findByName(java.lang.String name) |
static GLSearchCategories |
getShared() |
GLSearchCategory[] |
getStartedWith(java.lang.String[] words,
com.getyourmap.glmap.GLMapLocaleSettings localeSettings)
Returns categories that starts with given words
|
GLSearchCategory[] |
getTop() |
@NonNull public static GLSearchCategories getShared()
@NonNull public GLSearchCategory[] getTop()
@Nullable public GLSearchCategory[] getStartedWith(java.lang.String[] words, com.getyourmap.glmap.GLMapLocaleSettings localeSettings)
words - Words arraylocaleSettings - Language priority settings@Nullable public GLSearchCategory findByName(java.lang.String name)
name - name of category@Nullable public GLSearchCategory findByIconName(java.lang.String iconName)
iconName - Icon nameCopyright © 2018 GetYourMap. All Rights Reserved.