Warning
This feature is available in the Full MapKit SDK version
MMKSearchCategory
@interface MMKSearchCategory : NSObject |
Single category (also known as rubric) description.
Summary
Class methods
+ (nonnull MMKSearchCategory *)categoryWithName:(nonnull NSString *)name |
Properties
@property (nonatomic, readonly, nonnull) NSString *name; |
@property (nonatomic, readonly, nullable) NSString *categoryClass; |
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags; |
Class methods
categoryWithName:categoryClass:tags:
+ (nonnull MMKSearchCategory *)categoryWithName:(nonnull NSString *)name |
Properties
name
@property (nonatomic, readonly, nonnull) NSString *name; |
Category name.
categoryClass
@property (nonatomic, readonly, nullable) NSString *categoryClass; |
Category class. Different categories can have the same class. For example, "Bar", "Cafe" and "Restaurant" categories inhabit "restaurants" category class.
Optional field, can be nil.
tags
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags; |
Additional non-structured data for the category.