GooglePlaces Framework Reference

  • 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 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>