Важно

This feature is available in the Full MapKit SDK version

YMKPanoramaServiceSearchSession

class YMKPanoramaServiceSearchSession : NSObject

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).

Summary

Instance methods

func retry(searchHandler: @escaping YMKPanoramaServiceSearchHandler)
Retries the last request

func cancel()
Cancels the active request

Instance methods

retry(searchHandler:)

func retry(searchHandler: @escaping YMKPanoramaServiceSearchHandler)

Retries the last request.


cancel()

func cancel()

Cancels the active request.


Предыдущая
Следующая