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

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

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

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

        @NonNull
        public final URL getUnselectedIconUrl()
      • getSelectedIconUrl

        @NonNull
        public final URL getSelectedIconUrl()
      • isPublic

        public final boolean isPublic()
        Returns whether the category is public or not
        Returns:
        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