GMSAutocompleteFetcherDelegate
Deprecated
Use GMSPlacesClient#fetchAutocompleteSuggestionsFromRequest:callback: instead.
@protocol GMSAutocompleteFetcherDelegate <NSObject>
@required
/**
 * Called when autocomplete predictions are available.
 *
 * @param predictions an array of `GMSAutocompletePrediction` objects.
 */
- (void)didAutocompleteWithPredictions:(NSArray<GMSAutocompletePrediction *> *)predictions
    __GMS_AVAILABLE_BUT_DEPRECATED_MSG(
        "Use <code>GMSPlacesClient#fetchAutocompleteSuggestionsFromRequest:callback:</code> "
        "instead.")
        ;
/**
 * Called when an autocomplete request returns an error.
 *
 * @param error the error that was received.
 */
- (void)didFailAutocompleteWithError:(NSError *)error
    __GMS_AVAILABLE_BUT_DEPRECATED_MSG(
        "Use <code>GMSPlacesClient#fetchAutocompleteSuggestionsFromRequest:callback:</code> "
        "instead.")
        ;
@end- 
                  
                  Deprecated Use GMSPlacesClient#fetchAutocompleteSuggestionsFromRequest:callback:instead.Called when autocomplete predictions are available. DeclarationSwift func didAutocomplete(with predictions: [GMSAutocompletePrediction])Objective-C - (void)didAutocompleteWithPredictions: (nonnull NSArray<GMSAutocompletePrediction *> *)predictions;Parameterspredictionsan array of GMSAutocompletePredictionobjects.
- 
                  
                  Deprecated Use GMSPlacesClient#fetchAutocompleteSuggestionsFromRequest:callback:instead.Called when an autocomplete request returns an error. DeclarationSwift func didFailAutocompleteWithError(_ error: any Error)Objective-C - (void)didFailAutocompleteWithError:(nonnull NSError *)error;Parameterserrorthe error that was received.