# PlaceDetailsView

    @MainActor
    @preconcurrency
    struct PlaceDetailsView

    extension PlaceDetailsView : Sendable, SendableMetatype, View

The view for the place details component.
- `


  ### [$query](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV6$query0C2UI7BindingVyAA0dE5QueryVGvp)


  `

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      var $query: Binding<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsQuery.html> { get }

- `


  ### [Body](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV4Bodya)


  ` The type of view representing the body of this view.

  When you create a custom view, Swift infers this type from your
  implementation of the required `View/body-swift.property` property.

  #### Declaration

  Swift

      typealias Body = some View

- `


  ### [allContent](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV10allContentShyAA0deH0OGvpZ)


  ` All `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html` types for the place details full view.

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      static let allContent: Set<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html>

- `


  ### [body](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV4bodyQrvp)


  ` The content and behavior of the view.

  When you implement a custom view, you must implement a computed
  `body` property to provide the content for your view. Return a view
  that's composed of built-in views that SwiftUI provides, plus other
  composite views that you've already defined:

      struct MyView: View {
          var body: some View {
              Text("Hello, World!")
          }
      }

  For more information about composing views and a view hierarchy,
  see <doc:Declaring-a-Custom-View>.

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      var body: some View { get }

- `


  ### [configuration](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV13configurationAA0dE13ConfigurationVvp)


  ` The configuration of the place details full view.

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      var configuration: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration.html

- `


  ### [init(orientation:query:configuration:placeDetailsCallback:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV11orientation5query13configuration05placeE8CallbackAcA0dF11OrientationO_0C2UI7BindingVyAA0dE5QueryVGAA0dE13ConfigurationVyAA0dE6ResultCctcfc)


  `

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      init(orientation: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceViewOrientation.html = .vertical, query: Binding<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsQuery.html>, configuration: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration.html, placeDetailsCallback: @escaping (https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Classes/PlaceDetailsResult.html) -> Void)

- `


  ### [orientation](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV11orientationAA0dF11OrientationOvp)


  ` The orientation of the place details view.

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      var orientation: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceViewOrientation.html

- `


  ### [query](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV5queryAA0dE5QueryVvp)


  ` The place details component query.

  #### Declaration

  Swift

      @Binding
      @MainActor
      @preconcurrency
      var query: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsQuery.html { get nonmutating set }

- `


  ### [standardContent](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsView#/s:17GooglePlacesSwift16PlaceDetailsViewV15standardContentShyAA0deH0OGvpZ)


  ` The standard `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html` types for the place details full view.

  #### Declaration

  Swift

      @MainActor
      @preconcurrency
      static let standardContent: Set<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html>