# AdvancedPlaceDetailsCompactConfiguration

    struct AdvancedPlaceDetailsCompactConfiguration

    extension AdvancedPlaceDetailsCompactConfiguration : Sendable, SendableMetatype

The configuration for the `https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/AdvancedPlaceDetailsCompactView.html` component.
- `


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


  ` The content to display in the component.

  #### Declaration

  Swift

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

- `


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


  `

  #### Declaration

  Swift

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


  ` 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/AdvancedPlaceDetailsCompactConfiguration#/s:17GooglePlacesSwift40AdvancedPlaceDetailsCompactConfigurationV5themeAA0B13MaterialThemeVvp)


  ` 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