<SYCustomPlacesManagerDelegate> Protocol Reference

Contains callbacks about changes of SYCustomPlacesManager state. More...

#import <SYCustomPlacesManager.h>

Inheritance diagram for <SYCustomPlacesManagerDelegate>:
Collaboration diagram for <SYCustomPlacesManagerDelegate>:

Instance Methods

(void) - customPlacesManager:didStartCreatingSearchIndexForDataset:
 Informs that indexing of recently installed Custom Places has started. More...
 
(void) - customPlacesManager:didFinishCreatingSearchIndexForDataset:withError:
 Informs that indexing of recently installed Custom Places has finished. More...
 

Detailed Description

Contains callbacks about changes of SYCustomPlacesManager state.

Method Documentation

◆ customPlacesManager:didStartCreatingSearchIndexForDataset:

- (void) customPlacesManager: (nonnull SYCustomPlacesManager *)  manager
didStartCreatingSearchIndexForDataset: (nonnull NSString *)  datasetId 
optional

Informs that indexing of recently installed Custom Places has started.

Parameters
managerSYCustomPlacesManager instance.
datasetIdIdentifier of the custom places dataset which is being indexed.

Indexing process affects only search (SYCustomPlacesSearch). While indexing is in progress, already existing search instances work with old data, as soon as indexing finished, all SYCustomPlacesSearch instances start working with the latest Custom Places data.

◆ customPlacesManager:didFinishCreatingSearchIndexForDataset:withError:

- (void) customPlacesManager: (nonnull SYCustomPlacesManager *)  manager
didFinishCreatingSearchIndexForDataset: (nonnull NSString *)  datasetId
withError: (nullable NSError *)  error 
optional

Informs that indexing of recently installed Custom Places has finished.

Parameters
managerSYCustomPlacesManager instance.
datasetIdIdentifier of the custom places dataset which is being indexed.
errorError which may occur during indexing process. If indexing succeeded, the value is nil.

Indexing process affects only search (SYCustomPlacesSearch). While indexing is in progress, already existing search instances work with old data, as soon as indexing finished, all SYCustomPlacesSearch instances start working with the latest Custom Places data.


The documentation for this protocol was generated from the following file: