public class GLSearchCategory
extends java.lang.Object
GLSearchCategory holds information about category that can be displayed to user.| Modifier and Type | Class and Description |
|---|---|
static interface |
com.glmapview.GLNativeObject.Type |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
GLSearchCategory[] |
getChilds() |
java.lang.String |
getIconName() |
java.lang.String |
localizedName(GLMapLocaleSettings localeSettings)
Returns name of the category according language priority settings.
|
android.text.SpannableString |
spannedName(java.lang.Object normal,
java.lang.Object highlighted,
int flags,
GLMapLocaleSettings localeSettings)
Returns spanned name where parts that matched search are highlighted.
|
public java.lang.String localizedName(GLMapLocaleSettings localeSettings)
localeSettings - language order settingspublic android.text.SpannableString spannedName(java.lang.Object normal,
java.lang.Object highlighted,
int flags,
GLMapLocaleSettings localeSettings)
normal - normal span (must support clone method)highlighted - highlighted span (must support clone method)flags - flag that is passed to setSpanlocaleSettings - locale settings to usepublic java.lang.String getIconName()
public GLSearchCategory[] getChilds()
public void dispose()
Copyright © 2017 GetYourMap. All Rights Reserved.