GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Callback type for receiving place photos results. If an error occurred, photos
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\u003eGMSPlacePhotoMetadataResultCallback\u003c/code\u003e is a callback type used to receive results when fetching place photos.\u003c/p\u003e\n"],["\u003cp\u003eIf successful, the callback provides a \u003ccode\u003eGMSPlacePhotoMetadataList\u003c/code\u003e object containing photo metadata; if an error occurs, it provides an \u003ccode\u003eNSError\u003c/code\u003e object detailing the issue.\u003c/p\u003e\n"],["\u003cp\u003eThis callback is used in conjunction with methods from the \u003ccode\u003eGMSPlacesClient\u003c/code\u003e class for place photo retrieval.\u003c/p\u003e\n"]]],["This documentation defines `GMSPlacePhotoMetadataResultCallback`, a callback type used to receive results related to place photos. It provides either a `GMSPlacePhotoMetadataList` containing photo data or an `NSError` indicating a failure. The `photos` parameter will be nil if an error occurred, with error details provided in the `error` parameter. This callback is utilized within `GMSPlacesClient` for handling asynchronous photo data retrieval.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlacePhotoMetadataResultCallback\n===================================\n\n typedef void (^GMSPlacePhotoMetadataResultCallback)(\n ../Classes/GMSPlacePhotoMetadataList.html *_Nullable, NSError *_Nullable)\n\nCallback type for receiving place photos results. If an error occurred, `photos` will be nil and\n`error` will contain information about the error. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]