# GooglePlacesSwift Framework Reference

# PlaceDetailsConfiguration

    struct PlaceDetailsConfiguration

    extension PlaceDetailsConfiguration : Sendable, SendableMetatype

Configuration for the Place Details component.
- `


  ### [content](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration#/s:17GooglePlacesSwift25PlaceDetailsConfigurationV7contentShyAA0dE7ContentOGvp)


  ` The content to display in the component.

  #### Declaration

  Swift

      let content: Set<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html>

- `


  ### [init(content:preferTruncation:theme:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration#/s:17GooglePlacesSwift25PlaceDetailsConfigurationV7content16preferTruncation5themeACShyAA0dE7ContentOG_SbAA0B13MaterialThemeVtcfc)


  `

  #### Declaration

  Swift

      init(content: Set<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsContent.html>, preferTruncation: Bool = false, theme: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialTheme.html)

- `


  ### [preferTruncation](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration#/s:17GooglePlacesSwift25PlaceDetailsConfigurationV16preferTruncationSbvp)


  ` Whether to truncate the content if it does not fit in the component.

  #### Declaration

  Swift

      var preferTruncation: Bool

- `


  ### [theme](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlaceDetailsConfiguration#/s:17GooglePlacesSwift25PlaceDetailsConfigurationV5themeAA0B13MaterialThemeVvp)


  ` The theme to use for the component.

  #### Declaration

  Swift

      let theme: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/PlacesMaterialTheme.html