GooglePlacesSwift Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
PlaceDetailsResult
final class PlaceDetailsResult
extension PlaceDetailsResult : ObservableObject
The place details UI widget result.
-
Declaration
Swift
final var $error: Published<(any Error)?>.Publisher { get set }
-
Declaration
Swift
final var $place: Published<Place?>.Publisher { get set }
-
The type of publisher that emits before the object has changed.
Declaration
Swift
@available(watchOS, introduced: 6.0)
@available(macOS, introduced: 10.15)
@available(iOS, introduced: 13.0)
@available(tvOS, introduced: 13.0)
typealias ObjectWillChangePublisher = ObservableObjectPublisher
-
The place details UI widget error.
Declaration
Swift
@Published
final var error: (any Error)? { get set }
-
Initializer for the place details result.
-
The place details of the place object.
Declaration
Swift
@Published
final var place: Place? { get set }
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],[],null,["# GooglePlacesSwift Framework Reference\n\nPlaceDetailsResult\n==================\n\n final class PlaceDetailsResult\n\n extension PlaceDetailsResult : ObservableObject\n\nThe place details UI widget result.\n- `\n ``\n ``\n `\n\n ### [$error](#/s:17GooglePlacesSwift18PlaceDetailsResultC6$error7Combine9PublishedV9PublisherVys5Error_pSg_Gvp)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n final var $error: Published\u003c(any Error)?\u003e.Publisher { get set }\n\n- `\n ``\n ``\n `\n\n ### [$place](#/s:17GooglePlacesSwift18PlaceDetailsResultC6$place7Combine9PublishedV9PublisherVyAA0D0VSg_Gvp)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n final var $place: Published\u003c../Structs/Place.html?\u003e.Publisher { get set }\n\n- `\n ``\n ``\n `\n\n ### [ObjectWillChangePublisher](#/s:17GooglePlacesSwift18PlaceDetailsResultC25ObjectWillChangePublishera)\n\n `\n ` \n The type of publisher that emits before the object has changed. \n\n #### Declaration\n\n Swift \n\n @available(watchOS, introduced: 6.0)\n @available(macOS, introduced: 10.15)\n @available(iOS, introduced: 13.0)\n @available(tvOS, introduced: 13.0)\n typealias ObjectWillChangePublisher = ObservableObjectPublisher\n\n- `\n ``\n ``\n `\n\n ### [error](#/s:17GooglePlacesSwift18PlaceDetailsResultC5errors5Error_pSgvp)\n\n `\n ` \n The place details UI widget error. \n\n #### Declaration\n\n Swift \n\n @Published\n final var error: (any Error)? { get set }\n\n- `\n ``\n ``\n `\n\n ### [init()](#/s:17GooglePlacesSwift18PlaceDetailsResultCACycfc)\n\n `\n ` \n Initializer for the place details result. \n\n #### Declaration\n\n Swift \n\n init()\n\n- `\n ``\n ``\n `\n\n ### [place](#/s:17GooglePlacesSwift18PlaceDetailsResultC5placeAA0D0VSgvp)\n\n `\n ` \n The place details of the place object. \n\n #### Declaration\n\n Swift \n\n @Published\n final var place: ../Structs/Place.html? { get set }"]]