Warning
This feature is available in the Full MapKit SDK version
YMKSearchResponse
@interface YMKSearchResponse : NSObject |
Top level structure for search response.
Summary
Class methods
+ (nonnull YMKSearchResponse *)responseWithMetadata:(nonnull YMKSearchMetadata *)metadata |
Properties
@property (nonatomic, readonly, nonnull) YMKSearchMetadata *metadata; |
@property (nonatomic, readonly, nonnull) YMKGeoObjectCollection *collection; |
@property (nonatomic, readonly) BOOL isOffline; |
Class methods
responseWithMetadata:collection:isOffline:
+ (nonnull YMKSearchResponse *)responseWithMetadata:(nonnull YMKSearchMetadata *)metadata |
Properties
metadata
@property (nonatomic, readonly, nonnull) YMKSearchMetadata *metadata; |
Extended response information.
collection
@property (nonatomic, readonly, nonnull) YMKGeoObjectCollection *collection; |
List of objects (organizations, toponyms) in search response.
isOffline
@property (nonatomic, readonly) BOOL isOffline; |
Flag describing if this response was built offline.