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
                                                   kinds:(nonnull NSArray<NSNumber *> *)kinds;

Properties

@property (nonatomic, readonly, nonnull) NSString *name;
Component name

@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *kinds;
Component kinds

Class methods

componentWithName:kinds:

+ (nonnull MMKSearchAddressComponent *)componentWithName:(nonnull NSString *)name
                                                   kinds:(nonnull NSArray<NSNumber *> *)kinds;


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.