GooglePlaces Framework Reference
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 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`GMSFetchPhotoResultCallback` is a callback type used to receive a photo."],["It provides a `UIImage` representing the requested photo and an `NSError` if any error occurred during the fetch."],["If successful, `photoImage` contains the image; otherwise, it's nil and `error` provides error details."]]],[]]