GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceSearchByTextResultCallback
typedef void (^GMSPlaceSearchByTextResultCallback)(
NSArray<GMSPlace *> *_Nullable, NSError *_Nullable)
Callback type for receiving search by text results. results
is an array of
GMSPlace
representing individual results matching the query.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPlaceSearchByTextResultCallback\u003c/code\u003e is a block type used to handle results from a text-based place search.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an array of \u003ccode\u003eGMSPlace\u003c/code\u003e objects representing the search results and an \u003ccode\u003eNSError\u003c/code\u003e object if an error occurred.\u003c/p\u003e\n"],["\u003cp\u003eUse this callback with methods in \u003ccode\u003eGMSPlacesClient\u003c/code\u003e when initiating a text-based place search.\u003c/p\u003e\n"]]],["The `GMSPlaceSearchByTextResultCallback` is a callback type that delivers search results. It returns an array of `GMSPlace` objects, each representing a place matching the text query. The callback also handles errors using the `NSError` parameter. This callback is used with `GMSPlacesClient` to receive results from a text-based place search.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceSearchByTextResultCallback\n==================================\n\n typedef void (^GMSPlaceSearchByTextResultCallback)(\n NSArray\u003c../Classes/GMSPlace.html *\u003e *_Nullable, NSError *_Nullable)\n\nCallback type for receiving search by text results. `results` is an array of\n[GMSPlace](../Classes/GMSPlace.html) representing individual results matching the query. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]