GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSFetchPhotoResultCallback
typedef void (^GMSFetchPhotoResultCallback)(UIImage *_Nullable,
NSError *_Nullable)
Callback type for receiving a photo. photoImage
is a UIImage
representing the resulting photo matching the specified request.
If an error occurred, photoImage
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."],[],["This describes the `GMSFetchPhotoResultCallback`, a callback type for receiving a photo. It provides a `UIImage` named `photoImage`, representing the requested photo. If an error occurs, `photoImage` will be nil, and an `NSError` object will contain error details. This callback is used in conjunction with `GMSPlacesClient`.\n"],null,[]]