GenericCategories class abstract Core

Utilities for working with generic categories used to group landmarks and points of interest (POIs).

GenericCategories exposes convenience helpers to enumerate the built-in generic categories, to resolve a generic category or POI category to a LandmarkCategory, and to inspect the landmark store id used by the SDK.

See also:

Constructors

GenericCategories()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

categories List<LandmarkCategory>
Returns all known generic categories.
no setter
landmarkStoreId int
The landmark store id associated with generic categories.
no setter

Static Methods

getCategory(int id) LandmarkCategory?
Returns the generic category for id.
getGenericCategory(int poiCategory) LandmarkCategory?
Maps a POI category id to its parent generic category.
getPoiCategories(int genericCategory) List<LandmarkCategory>
Returns POI categories that belong to genericCategory.