<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:
-
predictions an array of GMSAutocompletePrediction objects.
- (void) didFailAutocompleteWithError: | (NSError *) | error | [required] |
Called when an autocomplete request returns an error.
- Parameters:
-
error the error that was received.