Interface SearchResultListener

com.yandex.mapkit.search.search_layer

public interface SearchResultListener

Interface for callbacks on search events.

Methods

void onSearchCancel()

Called when search is cancelled.

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

onSearchCancel

public void onSearchCancel ()

Called when search is cancelled.

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.