AI-generated Key Takeaways
- 
          This documentation details globally available protocols within the Places SDK for iOS. 
- 
          These protocols provide functionality for tasks such as fetching App Check tokens, defining coordinate regions, and interacting with the Places SDK. 
- 
          Some protocols, like CoordinateRegionBiasandCoordinateRegionRestriction, should not be conformed to by external types to avoid errors.
- 
          The PlacesClientProtocolis the primary interface for using the Places SDK, offering methods for searching and retrieving place details.
- 
          All interactions with the Places SDK, including calls to PlacesClientmethods, should occur on the main thread for stability and predictable behavior.
Protocols
The following protocols are available globally.
- 
                  
                  Protocol for the AI-generated summary of the place. DeclarationSwift protocol AISummary : CustomStringConvertible, Hashable, Sendable
- 
                  
                  A protocol for fetching the App Check token. DeclarationSwift protocol AppCheckTokenProvider : Sendable
- 
                  
                  DeclarationSwift protocol ConsumerAlertProtocol : CustomStringConvertible, Hashable, Sendable
- 
                  
                  Specifies coordinate region information. DeclarationSwift protocol CoordinateRegion : Hashable
- 
                  
                  Specifies that the coordinate region can be used as a search bias. Warning This should not be conformed to by types outside of GooglePlacesSwift. Doing so may result in a fatal error.DeclarationSwift protocol CoordinateRegionBias : CoordinateRegion
- 
                  
                  Specifies that the coordinate region can be used as a search restriction. Warning This should not be conformed to by types outside of GooglePlacesSwift. Doing so may result in a fatal error.DeclarationSwift protocol CoordinateRegionRestriction : CoordinateRegion
- 
                  
                  DeclarationSwift protocol PlaceProtocol : CustomStringConvertible, Hashable, Sendable
- 
                  
                  Main interface to the Places SDK, used for searching and getting details about places. This type should be accessed through PlacesClient.shared.PlacesClient methods should only be called from the main thread. Calling these methods from another thread will result in an exception or undefined behavior. Unless otherwise specified, all callbacks will be invoked on the main thread. DeclarationSwift protocol PlacesClientProtocol : AnyObject, Sendable