Protocol YMKSearchLayerResponseHandler

Interface for callbacks on search events.

Instance Methods

- onAllResultsClear

Called before all results are cleared.

- onPresentedResultsUpdate

Called when presented results are updated and thus search results list can change.

- onSearchErrorWithError:

Called on any search error.

- onSearchStart

Called when the search starts.

- onSearchSuccess

Called after a succesful search.

Method Detail

-onAllResultsClear

- (void)onAllResultsClear

Called before all results are cleared.

-onPresentedResultsUpdate

- (void)onPresentedResultsUpdate

Called when presented results are updated and thus search results list can change.

-onSearchErrorWithError:

- (void)onSearchErrorWithError:(nonnull NSError *)error 

Called on any search error.

Parameters:
error

Error occured.

-onSearchStart

- (void)onSearchStart

Called when the search starts.

-onSearchSuccess

- (void)onSearchSuccess

Called after a succesful search.