GooglePlaces Framework Reference

  • GMSPlaceSearchByTextResultCallback is a block type used to handle results from a text-based place search.

  • It provides an array of GMSPlace objects representing the search results and an NSError object if an error occurred.

  • Use this callback with methods in GMSPlacesClient when initiating a text-based place search.

GMSPlaceSearchByTextResultCallback

Deprecated

This method is replaced by GMSPlaceSearchByTextResponseCallback and will be removed in a future release.

typedef void (^GMSPlaceSearchByTextResultCallback)(
    NSArray<GMSPlace *> *_Nullable, NSError *_Nullable)

Callback type for receiving search by text results. results is an array of GMSPlace representing individual results matching the query.