GooglePlaces Framework Reference

Protocols

The following protocols are available globally.

  • Protocol for objects that can receive callbacks from GMSAutocompleteFetcher.

    Declaration

    Swift

      protocol 
     GMSAutocompleteFetcherDelegate 
     : 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSAutocompleteFetcherDelegate 
     < 
     NSObject 
     > 
     
    
  • Protocol used by GMSAutocompleteResultsViewController , to communicate the user’s interaction with the controller to the application.

    Declaration

    Swift

      protocol 
     GMSAutocompleteResultsViewControllerDelegate 
     : 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSAutocompleteResultsViewControllerDelegate 
     < 
     NSObject 
     > 
     
    
  • Protocol used by GMSAutocompleteTableDataSource , to communicate the user’s interaction with the data source to the application.

    Declaration

    Swift

      protocol 
     GMSAutocompleteTableDataSourceDelegate 
     : 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSAutocompleteTableDataSourceDelegate 
     < 
     NSObject 
     > 
     
    
  • Protocol used by GMSAutocompleteViewController , to communicate the user’s interaction with the controller to the application.

    Declaration

    Swift

      protocol 
     GMSAutocompleteViewControllerDelegate 
     : 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSAutocompleteViewControllerDelegate 
     < 
     NSObject 
     > 
     
    
  • Protocol for specifying that the location can be used as search bias.

    Declaration

    Swift

      protocol 
     GMSPlaceLocationBias 
     : 
     NSCopying 
     , 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSPlaceLocationBias 
     < 
     NSObject 
     , 
     NSCopying 
     > 
     
    
  • Protocol for specifying that the location can be used as search restriction.

    Declaration

    Swift

      protocol 
     GMSPlaceLocationRestriction 
     : 
     NSCopying 
     , 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSPlaceLocationRestriction 
     < 
     NSObject 
     , 
     NSCopying 
     > 
     
    
  • Protocol for providing App Check tokens for Places SDK.

    Declaration

    Swift

      protocol 
     GMSPlacesAppCheckTokenProvider 
     : 
     NSObjectProtocol 
     
    

    Objective-C

      @protocol 
     GMSPlacesAppCheckTokenProvider 
     < 
     NSObject 
     > 
     
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: