MMKPanoramaServiceSearchSession

class MMKPanoramaServiceSearchSession : 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 MMKPanoramaServiceSearchHandler)
Retries the last request

func cancel()
Cancels the active request

Instance methods

retry(searchHandler:)

func retry(searchHandler: @escaping MMKPanoramaServiceSearchHandler)

Retries the last request.


cancel()

func cancel()

Cancels the active request.