public class PoiCategory extends Resource implements android.os.Parcelable
Instances are immutable.
Modifier and Type | Class and Description |
---|---|
static class |
PoiCategory.Builder
Builder to construct a
PoiCategory |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<PoiCategory> |
CREATOR |
static PoiCategory |
DEFAULT |
EMPTY_IDENTIFIER, EMPTY_IDENTIFIER_BACKWARDS
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
String |
getCode()
Returns unique code of the category
|
String |
getName()
Returns the category name appropriate for display to the user
|
I18nString |
getNameAsI18n()
Returns the category name appropriate for display to the user with different value depending on the language
|
URL |
getSelectedIconUrl() |
URL |
getUnselectedIconUrl() |
int |
hashCode() |
boolean |
isPublic()
Returns whether the category is public or not
|
String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getCreatedAt, getCustomFields, getIdentifier, getUpdatedAt
public static final PoiCategory DEFAULT
public static final android.os.Parcelable.Creator<PoiCategory> CREATOR
public final String getCode()
public final String getName()
public I18nString getNameAsI18n()
public final URL getUnselectedIconUrl()
public final URL getSelectedIconUrl()
public final boolean isPublic()
public final int describeContents()
describeContents
in interface android.os.Parcelable
public final void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable