GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlacePhotoImageResultCallback
typedef void (^GMSPlacePhotoImageResultCallback)(UIImage *_Nullable,
NSError *_Nullable)
Callback type for receiving UIImage
objects from a GMSPlacePhotoMetadata
object. If an error
occurred, photo
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\u003eGMSPlacePhotoImageResultCallback\u003c/code\u003e is a block that handles the result of fetching a place photo.\u003c/p\u003e\n"],["\u003cp\u003eIt provides either a \u003ccode\u003eUIImage\u003c/code\u003e of the photo or an \u003ccode\u003eNSError\u003c/code\u003e if an error occurred during the fetch.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMSPlacesClient\u003c/code\u003e uses this callback to deliver place photo results.\u003c/p\u003e\n"]]],[],null,["# GooglePlaces Framework Reference\n\nGMSPlacePhotoImageResultCallback\n================================\n\n typedef void (^GMSPlacePhotoImageResultCallback)(UIImage *_Nullable,\n NSError *_Nullable)\n\nCallback type for receiving `UIImage` objects from a [GMSPlacePhotoMetadata](../Classes/GMSPlacePhotoMetadata.html) object. If an error\noccurred, `photo` will be nil and `error` will contain information about the error. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]