GoogleNavigation Framework Reference
GMSReverseGeocodeResponse
@interface GMSReverseGeocodeResponse : NSObject <NSCopying>
A collection of results from a reverse geocode request.
-
Returns the first result, or nil if no results were available.
-
Returns an array of all the results (contains GMSAddress
), including the first result.
Declaration
Objective-C
- (nullable NSArray<GMSAddress *> *)results;
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-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSReverseGeocodeResponse` stores the results obtained from a reverse geocode request."],["It provides access to the first result through the `firstResult` method, returning a `GMSAddress` object or nil if no results are found."],["All results, including the first one, can be accessed as an array of `GMSAddress` objects using the `results` method."]]],["The `GMSReverseGeocodeResponse` class provides results from a reverse geocode request. It offers two main functionalities: `firstResult` which returns the initial `GMSAddress` result, or nil if none exist. Additionally, `results` provides an array containing all `GMSAddress` objects from the request, inclusive of the initial one. Both methods can return nil if no result are present, or an array of `GMSAddress`.\n"]]