YMKAddressCollection

Важно

This feature is available in the NaviKit SDK version.

@interface YMKAddressCollection : NSObject

Summary

Class methods

+ (nonnull YMKAddressCollection *)addressCollectionWithTitle:(nonnull NSString *)title
                                                 description:(nullable NSString *)description
                                                     records:(nonnull NSArray<YMKAddressRecord *> *)records;

Properties

@property (nonatomic, readonly, nonnull) NSString *title;

@property (nonatomic, readonly, nullable) NSString *description;
Optional field, can be nil

@property (nonatomic, readonly, nonnull) NSArray<YMKAddressRecord *> *records;

Class methods

addressCollectionWithTitle:description:records:

+ (nonnull YMKAddressCollection *)addressCollectionWithTitle:(nonnull NSString *)title
                                                 description:(nullable NSString *)description
                                                     records:(nonnull NSArray<YMKAddressRecord *> *)records;


Properties

title

@property (nonatomic, readonly, nonnull) NSString *title;


description

@property (nonatomic, readonly, nullable) NSString *description;

Optional field, can be nil.


records

@property (nonatomic, readonly, nonnull) NSArray<YMKAddressRecord *> *records;


Предыдущая
Следующая