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 |
|---|---|
static GLSearchCategories |
CreateFromBytes(byte[] source,
byte[] icuData)
Loads categories from given source data
|
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() |
public static GLSearchCategories getShared()
public static GLSearchCategories CreateFromBytes(byte[] source, byte[] icuData)
source - raw data of categoriesicuData - raw icu data (need for proper work of collator)public GLSearchCategory[] getTop()
public GLSearchCategory[] getStartedWith(java.lang.String[] words, com.getyourmap.glmap.GLMapLocaleSettings localeSettings)
words - Words arraylocaleSettings - Language priority settingspublic GLSearchCategory findByName(java.lang.String name)
name - name of categorypublic GLSearchCategory findByIconName(java.lang.String iconName)
iconName - Icon nameCopyright © 2018 GetYourMap. All Rights Reserved.