Class PoiCategory

  • All Implemented Interfaces:
    android.os.Parcelable, Filterable

    public class PoiCategory
    extends Resource
    implements android.os.Parcelable
    Category of Point of Interest.

    Instances are immutable.

    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<PoiCategory> CREATOR
    • Method Detail

      • getCode

        public final String getCode()
        Returns unique code of the category
      • getName

        public final String getName()
        Returns the category name appropriate for display to the user
      • getNameAsI18n

        public I18nString getNameAsI18n()
        Returns the category name appropriate for display to the user with different value depending on the language
      • getUnselectedIconUrl

        public final URL getUnselectedIconUrl()
      • getSelectedIconUrl

        public final URL getSelectedIconUrl()
      • isPublic

        public final boolean isPublic()
        Returns whether the category is public or not
        true if the category is public, otherwise not
      • describeContents

        public final int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public final void writeToParcel​(android.os.Parcel dest,
                                        int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable