GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceSearchNearbyResultCallback
typedef void (^GMSPlaceSearchNearbyResultCallback)(
NSArray<GMSPlace *> *_Nullable, NSError *_Nullable)
Callback type for receiving search nearby results.
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\u003eGMSPlaceSearchNearbyResultCallback\u003c/code\u003e is a block type used to handle the results of a nearby place search.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an array of \u003ccode\u003eGMSPlace\u003c/code\u003e objects representing the search results, or an \u003ccode\u003eNSError\u003c/code\u003e if an error occurred.\u003c/p\u003e\n"],["\u003cp\u003eThis callback is used in conjunction with the \u003ccode\u003eGMSPlacesClient\u003c/code\u003e for initiating nearby place searches.\u003c/p\u003e\n"]]],["The `GMSPlaceSearchNearbyResultCallback` is a callback type used to receive results from a nearby search. It provides an array of `GMSPlace` objects, representing the search results, and an `NSError` object that will be populated if there are any errors. This callback is used in conjunction with `GMSPlacesClient` to retrieve nearby place information.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceSearchNearbyResultCallback\n==================================\n\n typedef void (^GMSPlaceSearchNearbyResultCallback)(\n NSArray\u003c../Classes/GMSPlace.html *\u003e *_Nullable, NSError *_Nullable)\n\nCallback type for receiving search nearby results. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]