GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceLikelihoodsCallback
typedef void (^GMSPlaceLikelihoodsCallback)(
NSArray<GMSPlaceLikelihood *> *_Nullable, NSError *_Nullable)
Callback type for receiving array of GMSPlaceLikelihood
s. If an error occurred, the array will
be nil and error
will contain information about the error.
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\u003eGMSPlaceLikelihoodsCallback\u003c/code\u003e is a block type used to handle the results of a place likelihood request.\u003c/p\u003e\n"],["\u003cp\u003eIt provides an array of \u003ccode\u003eGMSPlaceLikelihood\u003c/code\u003e objects, representing potential places and their likelihoods, or an error if the request failed.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should consult the \u003ccode\u003eGMSPlacesClient\u003c/code\u003e documentation for usage details and to initiate place likelihood requests.\u003c/p\u003e\n"]]],["The `GMSPlaceLikelihoodsCallback` is a callback type that receives an array of `GMSPlaceLikelihood` objects. It's used to handle the results of place likelihood requests. If successful, it provides an array of places; otherwise, the array is nil, and an `NSError` object contains error details. It's associated with `GMSPlacesClient`.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceLikelihoodsCallback\n===========================\n\n typedef void (^GMSPlaceLikelihoodsCallback)(\n NSArray\u003c../Classes/GMSPlaceLikelihood.html *\u003e *_Nullable, NSError *_Nullable)\n\nCallback type for receiving array of [GMSPlaceLikelihood](../Classes/GMSPlaceLikelihood.html)s. If an error occurred, the array will\nbe nil and `error` will contain information about the error. \nSee\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]