GoogleNavigation Framework Reference

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

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.

    Declaration

    Swift

    func firstResult() -> GMSAddress?

    Objective-C

    - (nullable GMSAddress *)firstResult;
  • Returns an array of all the results (contains GMSAddress), including the first result.

    Declaration

    Swift

    func results() -> [GMSAddress]?

    Objective-C

    - (nullable NSArray<GMSAddress *> *)results;