SYCustomPlacesSearch Class Reference

Performs search in Custom Places for countries already installed by SYCustomPlacesManager. More...

#import <SYSearch.h>

Inheritance diagram for SYCustomPlacesSearch:
Collaboration diagram for SYCustomPlacesSearch:

Instance Methods

((unavailable("Use createWithCompletion: instead.") - __attribute__
 
- Instance Methods inherited from SYSearchBase
(nonnull SYSearchSession *) - startNewSession
 Creates a new search session associated with this search instance. More...
 

Class Methods

(void) + createWithDatasetId:completion:
 Asynchronously creates SYCustomPlacesSearch instance which can search in specified custom places dataset. If datasetId is nil, SYCustomPlacesManager.defaultDatasetId is used. This might take some time if indexing of installed data is running. More...
 
((unavailable("Use createWithCompletion: instead.") + __attribute__
 

Detailed Description

Performs search in Custom Places for countries already installed by SYCustomPlacesManager.

Method Documentation

◆ createWithDatasetId:completion:

+ (void) createWithDatasetId: (nullable NSString *)  datasetId
completion: (nonnull SYCustomPlacesSearchCreateCompletionBlock)  completion 

Asynchronously creates SYCustomPlacesSearch instance which can search in specified custom places dataset. If datasetId is nil, SYCustomPlacesManager.defaultDatasetId is used. This might take some time if indexing of installed data is running.

If indexing of Custom Places is in progress, this method returns result as soon as indexing finishes. During indexing, already existing search instances work with old Custom Places data, and start working with the latest data as soon as indexing is finished.

Use SYCustomPlacesManagerDelegate to get notification when indexing process starts or finishes.

◆ __attribute__ [1/2]

- ((unavailable("Use) createWithCompletion:

Implements SYSearchBase.

◆ __attribute__ [2/2]

+ ((unavailable("Use) createWithCompletion:

Implements SYSearchBase.


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