Warning
This feature is available in the Full MapKit SDK version
MMKSearchSuggestSession
class MMKSearchSuggestSession : NSObject |
Undocumented
Summary
Instance methods
func suggest(withText text: String, |
func reset() |
Instance methods
suggest(withText:window:suggestOptions:responseHandler:)
func suggest(withText text: String, |
Begin a suggest request. The current request is cancelled, if present.
Parameters |
|
text |
Text to get suggestions for. |
window |
Current map window position. |
suggestOptions |
Various additional suggest parameters. See the MMKSuggestOptions definition for details. |
suggestListener |
Function called when the result is ready. |
reset()
func reset() |
Cancels current suggest request and resets internal state. Next queries via this suggest session will be seen as a new suggest session from backend point of view.