Page Summary
-
The
PlacesClientclass is the primary interface for interacting with the Places SDK, enabling functionalities like searching for places and retrieving place details. -
Access the
PlacesClientthrough the shared instancePlacesClient.shared. -
Ensure all
PlacesClientmethods are exclusively called from the main thread to avoid exceptions or unexpected behavior.
Classes
The following classes are available globally.
-
The place details UI widget result.
Declaration
Swift
final class PlaceDetailsResultextension PlaceDetailsResult : ObservableObject -
Main interface to the Places SDK, used for searching and getting details about places.
This type should be accessed through
PlacesClient.shared.PlacesClientmethods should only be called from the main thread. Calling these methods from another thread will result in an exception or undefined behavior.Declaration