GooglePlaces Framework Reference

GMSPlaceSearchByTextResponse

@interface GMSPlaceSearchByTextResponse : NSObject <GMSPlaceSearchResponse>

The response object for the searchByText method.

  • The array of places that match the request.

    Declaration

    Swift

    var places: [GMSPlace]? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<GMSPlace *> *places;
  • The pagination object for the response.

    Declaration

    Swift

    var pagination: GMSPlacePagination? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) GMSPlacePagination *pagination;
  • A list of routing summaries where each entry associates to the corresponding place in the same index in the places field.

    Declaration

    Swift

    var routingSummaries: [GMSPlaceRoutingSummary]? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<GMSPlaceRoutingSummary *> *routingSummaries;
  • A link to search with the given query on Google Maps.

    Declaration

    Swift

    var searchURL: URL? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSURL *searchURL;
  • Unavailable

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;