Interface PanoramaService.SearchSession

com.yandex.mapkit.places.panorama

public interface PanoramaService.SearchSession

Session for receiving the result of the findNearest() method.

Should be stored until the listener is notified. Can be used to cancel the active request. Can be used to retry the last request (for example, if it failed).

Methods

void cancel()

Cancels the active request.

void retry(@NonNull SearchListener searchListener)

Retries the last request.

Method Detail

cancel

public void cancel ()

Cancels the active request.

retry

public void retry (@NonNull SearchListener searchListener)

Retries the last request.