Warning

This feature is available in the Full MapKit SDK version

MMKSearchResponse

@interface MMKSearchResponse : NSObject

Top level structure for search response.

Summary

Class methods

+ (nonnull MMKSearchResponse *)responseWithMetadata:(nonnull MMKSearchMetadata *)metadata
                                         collection:(nonnull MMKGeoObjectCollection *)collection
                                          isOffline:( BOOL)isOffline;

Properties

@property (nonatomic, readonly, nonnull) MMKSearchMetadata *metadata;
Extended response information

@property (nonatomic, readonly, nonnull) MMKGeoObjectCollection *collection;
List of objects (organizations, toponyms) in search response

@property (nonatomic, readonly) BOOL isOffline;
Flag describing if this response was built offline

Class methods

responseWithMetadata:collection:isOffline:

+ (nonnull MMKSearchResponse *)responseWithMetadata:(nonnull MMKSearchMetadata *)metadata
                                         collection:(nonnull MMKGeoObjectCollection *)collection
                                          isOffline:( BOOL)isOffline;


Properties

metadata

@property (nonatomic, readonly, nonnull) MMKSearchMetadata *metadata;

Extended response information.


collection

@property (nonatomic, readonly, nonnull) MMKGeoObjectCollection *collection;

List of objects (organizations, toponyms) in search response.


isOffline

@property (nonatomic, readonly) BOOL isOffline;

Flag describing if this response was built offline.