GooglePlaces Framework Reference

  • 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.

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.