GooglePlacesSwift Framework Reference

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.

    Declaration

    Swift

    init()
  • The place details of the place object.

    Declaration

    Swift

    @Published
    final var place: Place? { get set }