Platforms to show: All Mac Windows Linux Cross-Platform
Back to MKLocalSearchMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
If no search operation is in progress, this method does nothing.
MKLocalSearchMBS.Constructor(Handle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MapKit | MBS MacFrameworks Plugin | 21.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Useful if you get a MKLocalSearch reference from a declare.
The object is retained.
See also:
MKLocalSearchMBS.Constructor(request as MKLocalSearchRequestMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
request: The search request information. This parameter must not be nil.
This method stores a copy of the object in the request parameter. So any changes you make to your request object after calling this method are ignored.
See also:
MKLocalSearchMBS.Start(tag as variant = nil)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Triggers SearchFinished event later.
You use this method to initiate a map-based search operation. The search runs until the results are delivered, at which point the specified completion handler is called.
You should call this method only once to start the search operation. Calling this method while the search is running does not stop the original search operation from finishing. However, for each subsequent call, the search object executes your completion handler and passes an error object to it.
The provided completion handler is always executed on your app’s main thread. The local search object keeps a reference to the completion handler block until the results (or an error) are delivered, at which point it relinquishes that reference.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.