YMKAddressBookManager
Важно
This feature is available in the NaviKit SDK version.
|
@interface YMKAddressBookManager : NSObject |
Summary
Instance methods
|
- (void)addListenerWithAddressBookListener: |
|
- (void)removeListenerWithAddressBookListener: |
|
- (void)requestRefresh; |
Properties
|
@property (nonatomic, readonly, nonnull) YMKAddressBook *addressBook; |
|
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Instance methods
addListenerWithAddressBookListener:
|
- (void)addListenerWithAddressBookListener: |
The class does not retain the object in the 'addressBookListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
removeListenerWithAddressBookListener:
|
- (void)removeListenerWithAddressBookListener: |
The class does not retain the object in the 'addressBookListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.
requestRefresh
|
- (void)requestRefresh; |
Request to attempt to get address book from server. Refresh attempts may be throttled and ignored. Immediately after downloading from disk, the first attempt to update will be made automatically.
Properties
addressBook
|
@property (nonatomic, readonly, nonnull) YMKAddressBook *addressBook; |
valid
|
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.