Protocols
The following protocols are available globally.
-
Specifies coordinate region information.
Declaration
Swift
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.Declaration
Swift
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.Declaration
Swift
protocol CoordinateRegionRestriction : CoordinateRegion
-
Undocumented
Declaration
Swift
protocol PlaceProtocol : CustomStringConvertible, Hashable
-
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.
Declaration
Swift
protocol PlacesClientProtocol : AnyObject