LandmarkStoreCollection class Places
Provides a collection of landmark stores and their categories.
This class should not be instantiated directly. Instead, use the MapViewPreferences.lmks getter to obtain an instance.
It is intended for use by map and place UIs to control which store categories are visible or considered for searches and browsing. Common workflows include adding or removing categories for one or more stores, checking whether a store or a specific store/category pair is present, enumerating stores and their enabled category counts, and clearing or iterating the collection for display.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapPointerId → int
-
no setter
- pointerId → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Get the number of stores in the list.
no setter
Methods
-
add(
LandmarkStore lms) → GemError - Add all categories from the specified store.
-
addAllStoreCategories(
int storeId) → GemError - Add all categories from the specified store ID.
-
addStoreCategoryId(
int storeId, int categoryId) → GemError - Add a new category ID into the specified store list.
-
addStoreCategoryList(
int storeId, List< LandmarkCategory> categories) → GemError - Add a list of categories into the specified store list.
-
clear(
) → void - Remove all stores and categories.
-
contains(
int storeId, int categoryId) → bool - Check if the specified category ID from the specified store ID was already added.
-
containsLandmarkStore(
LandmarkStore lms) → bool - Check if the specified store has any category in the list.
-
containsStoreId(
int storeId) → bool - Check if the specified store ID has any category in the list.
-
getCategoryCount(
int storeId) → int - Get the number of categories enabled for the specified store.
-
getStoreCategoryId(
int storeId, int indexCategory) → int - Get the specified category ID for the specified store.
-
getStoreIdAt(
int index) → int - Get the store ID for the specified index.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
remove(
LandmarkStore lms) → GemError - Remove all categories of the specified store.
-
removeAllStoreCategories(
int storeId) → GemError - Remove all categories of the specified store ID.
-
removeStoreCategoryId(
int storeId, int categoryId) → GemError - Remove category ID from the specified store list.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited