GooglePlaces Framework Reference
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 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`GMSPlacePhotoImageResultCallback` is a block that handles the result of fetching a place photo."],["It provides either a `UIImage` of the photo or an `NSError` if an error occurred during the fetch."],["`GMSPlacesClient` uses this callback to deliver place photo results."]]],[]]