GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSAutocompleteSuggestionsCallback
Callback type for autocomplete 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\u003eGMSAutocompleteSuggestionsCallback\u003c/code\u003e is a block type used to handle the results of an autocomplete query.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an array of \u003ccode\u003eGMSAutocompleteSuggestion\u003c/code\u003e objects representing the suggested places and an \u003ccode\u003eNSError\u003c/code\u003e object for error handling.\u003c/p\u003e\n"],["\u003cp\u003eThis callback is used in conjunction with \u003ccode\u003eGMSPlacesClient\u003c/code\u003e for place autocomplete requests.\u003c/p\u003e\n"]]],["The `GMSAutocompleteSuggestionsCallback` is a callback type used for receiving autocomplete results. It delivers an array of `GMSAutocompleteSuggestion` objects or an `NSError` if an error occurred. This callback is utilized in conjunction with `GMSPlacesClient` to handle the outcomes of autocomplete requests. The callback provides either a list of suggestion or a signal that there was an error.\n"],null,["# GooglePlaces Framework Reference\n\nGMSAutocompleteSuggestionsCallback\n==================================\n\n typedef void (^GMSAutocompleteSuggestionsCallback)(\n NSArray\u003c../Classes/GMSAutocompleteSuggestion.html *\u003e *_Nullable, NSError *_Nullable)\n\nCallback type for autocomplete results. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]