AI-generated Key Takeaways
-
GMSAutocompletePredictionsCallbackis a callback type used for receiving autocomplete results. -
It provides an array of
GMSAutocompletePredictionobjects, representing possible completions for a search query, along with anNSErrorobject if an error occurred. -
This callback is utilized with
GMSPlacesClientfor autocomplete functionality within the Google Maps SDK for iOS.
GMSAutocompletePredictionsCallback
Deprecated
This method is replaced by GMSAutocompleteSuggestionsCallback and will be removed in a future release.
typedef void (^GMSAutocompletePredictionsCallback)(
NSArray<GMSAutocompletePrediction *> *_Nullable, NSError *_Nullable)Callback type for receiving autocompletion results. results is an array of
GMSAutocompletePredictions representing candidate completions of the query.
See