YMKAddressBook

Важно

This feature is available in the NaviKit SDK version.

@interface YMKAddressBook : NSObject

Summary

Class methods

+ (nonnull YMKAddressBook *)addressBookWithHome:(nullable YMKAddressRecord *)home
                                           work:(nullable YMKAddressRecord *)work
                                      favorites:(nonnull NSArray<YMKAddressRecord *> *)favorites
                              customCollections:(nonnull NSArray<YMKAddressCollection *> *)customCollections;

Properties

@property (nonatomic, readonly, nullable) YMKAddressRecord *home;
Optional field, can be nil

@property (nonatomic, readonly, nullable) YMKAddressRecord *work;
Optional field, can be nil

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

@property (nonatomic, readonly, nonnull)
    NSArray<YMKAddressCollection *> *customCollections;

Class methods

addressBookWithHome:work:favorites:customCollections:

+ (nonnull YMKAddressBook *)addressBookWithHome:(nullable YMKAddressRecord *)home
                                           work:(nullable YMKAddressRecord *)work
                                      favorites:(nonnull NSArray<YMKAddressRecord *> *)favorites
                              customCollections:(nonnull NSArray<YMKAddressCollection *> *)customCollections;


Properties

home

@property (nonatomic, readonly, nullable) YMKAddressRecord *home;

Optional field, can be nil.


work

@property (nonatomic, readonly, nullable) YMKAddressRecord *work;

Optional field, can be nil.


favorites

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


customCollections

@property (nonatomic, readonly, nonnull)
    NSArray<YMKAddressCollection *> *customCollections;


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