Page Summary
-
This documentation details protocols available globally for the Places SDK for iOS.
-
These protocols enable communication between various Places SDK classes and the application.
-
They facilitate tasks such as autocomplete, place selection, and location biasing/restriction.
-
The protocols define delegate methods for handling user interactions and receiving results.
-
Developers can implement these protocols to customize the behavior of Places SDK features.
Protocols
The following protocols are available globally.
-
Protocol for the AI-generated summary of the place.
Declaration
Swift
protocol GMSPlaceAISummary : NSObjectProtocolObjective-C
@protocol GMSPlaceAISummary <NSObject>
-
Protocol for specifying a route polyline.
Declaration
Swift
protocol GMSPlacePolyline : NSCopying, NSObjectProtocolObjective-C
@protocol GMSPlacePolyline <NSObject, NSCopying> -
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 the response to a place search request.
Declaration
Swift
protocol GMSPlaceSearchResponse : NSObjectProtocolObjective-C
@protocol GMSPlaceSearchResponse <NSObject> -
Protocol for providing App Check tokens for Places SDK.
Declaration
Swift
protocol GMSPlacesAppCheckTokenProvider : NSObjectProtocolObjective-C
@protocol GMSPlacesAppCheckTokenProvider <NSObject>