PlacesClient methods should only be called from the main thread. Calling these methods from
another thread will result in an exception or undefined behavior.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePlacesClient\u003c/code\u003e class is the primary interface for interacting with the Places SDK, enabling functionalities like searching for places and retrieving place details.\u003c/p\u003e\n"],["\u003cp\u003eAccess the \u003ccode\u003ePlacesClient\u003c/code\u003e through the shared instance \u003ccode\u003ePlacesClient.shared\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEnsure all \u003ccode\u003ePlacesClient\u003c/code\u003e methods are exclusively called from the main thread to avoid exceptions or unexpected behavior.\u003c/p\u003e\n"]]],["The core content introduces the `PlacesClient` class, the main interface for the Places SDK, used for place searching and detail retrieval. It should be accessed via `PlacesClient.shared`. Key actions involve using its methods to interact with place data. Critically, all `PlacesClient` methods must be called exclusively from the main thread; using them from other threads will cause errors or unpredictable results. It's defined as a final class and conforms to `PlacesClientProtocol`.\n"],null,["# GooglePlacesSwift Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [PlaceDetailsResult](/maps/documentation/places/ios-sdk/reference/swift/Classes/PlaceDetailsResult)\n\n `\n ` \n The place details UI widget result. \n\n #### Declaration\n\n Swift \n\n final class PlaceDetailsResult\n\n extension PlaceDetailsResult : ObservableObject\n\n- `\n ``\n ``\n `\n\n ### [PlacesClient](/maps/documentation/places/ios-sdk/reference/swift/Classes/PlacesClient)\n\n `\n ` \n Main interface to the Places SDK, used for searching and getting details about places.\n\n This type should be accessed through [PlacesClient.shared](/maps/documentation/places/ios-sdk/reference/swift/Classes/PlacesClient#/s:17GooglePlacesSwift0B6ClientC6sharedACvpZ).\n\n `PlacesClient` methods should only be called from the main thread. Calling these methods from\n another thread will result in an exception or undefined behavior. \n\n #### Declaration\n\n Swift \n\n final class PlacesClient\n\n extension PlacesClient : /maps/documentation/places/ios-sdk/reference/swift/Protocols/PlacesClientProtocol, Sendable"]]