# GooglePlacesSwift Framework Reference

# PlaceDetailsCompactConfiguration

    struct PlaceDetailsCompactConfiguration

    extension PlaceDetailsCompactConfiguration : Sendable, SendableMetatype

The configuration of the place details compact view.
- `


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


  ` The set of content types of the place details compact view.

  #### Declaration

  Swift

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

- `


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


  `

  #### Declaration

  Swift

      init(content: Set<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlaceDetailsCompactContent.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/PlaceDetailsCompactConfiguration#/s:17GooglePlacesSwift32PlaceDetailsCompactConfigurationV16preferTruncationSbvp)


  ` Whether to wrap the text in the view.

  #### Declaration

  Swift

      var preferTruncation: Bool

- `


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


  ` The theme of the place details component.

  #### Declaration

  Swift

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