AI-generated Key Takeaways
-
GMSPlacePhotoImageResultCallbackis a block that handles the result of fetching a place photo. -
It provides either a
UIImageof the photo or anNSErrorif an error occurred during the fetch. -
GMSPlacesClientuses this callback to deliver place photo results.
GMSPlacePhotoImageResultCallback
Deprecated
This method is replaced by GMSFetchPhotoResultCallback and will be removed in a future release.
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.
See