MMKSearchLayerResponseHandler
Warning
This feature is available in the Full MapKit SDK version
|
protocol MMKSearchLayerResponseHandler : NSObjectProtocol |
Interface for callbacks on search events.
Summary
Instance methods
|
func onSearchStart(with requestType: MMKSearchLayerRequestType) |
|
func onSearchSuccess(with requestType: MMKSearchLayerRequestType) |
|
func onSearchErrorWithError(_ error: any Error, |
|
func onPresentedResultsUpdate() |
|
func onAllResultsClear() |
Instance methods
onSearchStart(with:)
|
func onSearchStart(with requestType: MMKSearchLayerRequestType) |
Called when the search starts.
|
Parameters |
|
|
requestType |
Type of the started request. |
onSearchSuccess(with:)
|
func onSearchSuccess(with requestType: MMKSearchLayerRequestType) |
Called after a succesful search.
|
Parameters |
|
|
requestType |
Type of the finished request. |
onSearchErrorWithError(_:requestType:)
|
func onSearchErrorWithError(_ error: any Error, |
Called on any search error.
|
Parameters |
|
|
error |
Error occured. |
|
requestType |
Type of the finished request. |
onPresentedResultsUpdate()
|
func onPresentedResultsUpdate() |
Called when presented results are updated and thus search results list can change.
onAllResultsClear()
|
func onAllResultsClear() |
Called before all results are cleared.