Protocols
The following protocols are available globally.
-
Protocol for objects that can receive callbacks from GMSAutocompleteFetcher.
Declaration
Swift
protocol GMSAutocompleteFetcherDelegate : NSObjectProtocolObjective-C
@protocol GMSAutocompleteFetcherDelegate <NSObject> -
Protocol used by
GMSAutocompleteResultsViewController, to communicate the user’s interaction with the controller to the application.Declaration
Swift
protocol GMSAutocompleteResultsViewControllerDelegate : NSObjectProtocolObjective-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 : NSObjectProtocolObjective-C
@protocol GMSAutocompleteTableDataSourceDelegate <NSObject> -
Protocol used by
GMSAutocompleteViewController, to communicate the user’s interaction with the controller to the application.Declaration
Swift
protocol GMSAutocompleteViewControllerDelegate : NSObjectProtocolObjective-C
@protocol GMSAutocompleteViewControllerDelegate <NSObject>
-
Protocol for specifying that the location can be used as search bias.
Declaration
Swift
protocol GMSPlaceLocationBias : NSCopying, NSObjectProtocolObjective-C
@protocol GMSPlaceLocationBias <NSObject, NSCopying> -
Protocol for specifying that the location can be used as search restriction.
Declaration
Swift
protocol GMSPlaceLocationRestriction : NSCopying, NSObjectProtocolObjective-C
@protocol GMSPlaceLocationRestriction <NSObject, NSCopying> -
Protocol for providing App Check tokens for Places SDK.
Declaration
Swift
protocol GMSPlacesAppCheckTokenProvider : NSObjectProtocolObjective-C
@protocol GMSPlacesAppCheckTokenProvider <NSObject>