Interface SearchResultListener

com.yandex.mapkit.search.search_layer

public interface SearchResultListener

Interface for callbacks on search events.

Methods

void onAllResultsClear()

Called before all results are cleared.

void onPresentedResultsUpdate()

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

void onSearchError(@NonNull Error error)

Called on any search error.

void onSearchStart()

Called when the search starts.

void onSearchSuccess()

Called after a succesful search.

Method Detail

onAllResultsClear

public void onAllResultsClear ()

Called before all results are cleared.

onPresentedResultsUpdate

public void onPresentedResultsUpdate ()

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

onSearchError

public void onSearchError (@NonNull Error error)

Called on any search error.

Parameters:
error

Error occured.

onSearchStart

public void onSearchStart ()

Called when the search starts.

onSearchSuccess

public void onSearchSuccess ()

Called after a succesful search.