<GMSAutocompleteFetcherDelegate> Protocol Reference

<GMSAutocompleteFetcherDelegate> Protocol Reference

Overview

Protocol for objects that can receive callbacks from GMSAutocompleteFetcher.

Public Member Functions

(void) - didAutocompleteWithPredictions:
 Called when autocomplete predictions are available.
(void) - didFailAutocompleteWithError:
 Called when an autocomplete request returns an error.

Member Function Documentation

- (void) didAutocompleteWithPredictions: (NSArray< GMSAutocompletePrediction * > *)  predictions [required]

Called when autocomplete predictions are available.

Parameters:
predictionsan array of GMSAutocompletePrediction objects.
- (void) didFailAutocompleteWithError: (NSError *)  error [required]

Called when an autocomplete request returns an error.

Parameters:
errorthe error that was received.

Send feedback about...