GenericCategoriesContext
Objective-C
@interface GenericCategoriesContext : NSObject
Swift
class GenericCategoriesContext : NSObject
This class encapsulates generic categories information.
-
Returns the generic categories list.
Declaration
Objective-C
- (nonnull NSArray<LandmarkCategoryObject *> *)getCategories;
Swift
func getCategories() -> [LandmarkCategoryObject]
-
Returns the landmark category object associated with the category type.
Declaration
Objective-C
- (nullable LandmarkCategoryObject *)getCategory: (GenericCategoryType)categoryType;
Swift
func getCategory(_ categoryType: GenericCategoryType) -> LandmarkCategoryObject?
Parameters
categoryType
The type of category.
-
Returns the list of POI categories for the given generic category.
Declaration
Objective-C
- (nonnull NSArray<LandmarkCategoryObject *> *)getPoiCategories: (int)genericCategory;
Swift
func getPoiCategories(_ genericCategory: Int32) -> [LandmarkCategoryObject]
Parameters
genericCategory
Generic category id, see GenericCategoryType enum.
-
Returns the generic category for the given POI category.
Declaration
Objective-C
- (nullable LandmarkCategoryObject *)getGenericCategory:(int)poiCategory;
Swift
func getGenericCategory(_ poiCategory: Int32) -> LandmarkCategoryObject?
Parameters
poiCategory
POI category, see LandmarkStoreType enum.
-
Returns the generic categories landmark store id.
Declaration
Objective-C
- (int)getLandmarkStoreId;
Swift
func getLandmarkStoreId() -> Int32