Warning
This feature is available in the Full MapKit SDK version
MMKSearchAddressComponent
@interface MMKSearchAddressComponent : NSObject |
Single address component.
Component represents a single entry in the administrative hierarchy of the address.
Summary
Class methods
+ (nonnull MMKSearchAddressComponent *)componentWithName:(nonnull NSString *)name |
Properties
@property (nonatomic, readonly, nonnull) NSString *name; |
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *kinds; |
Class methods
componentWithName:kinds:
+ (nonnull MMKSearchAddressComponent *)componentWithName:(nonnull NSString *)name |
Properties
name
@property (nonatomic, readonly, nonnull) NSString *name; |
Component name.
kinds
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *kinds; |
Component kinds. May contain both general and specific kind, for example MMKSearchComponentKindStation and MMKSearchComponentKindMetroStation.