GooglePlacesSwift Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
PlaceDetailsCompactConfiguration
struct PlaceDetailsCompactConfiguration
extension PlaceDetailsCompactConfiguration : Sendable
The configuration of the place details compact view.
-
The set of content types of the place details compact view.
-
-
Whether to wrap the text in the view.
Declaration
Swift
var preferTruncation: Bool
-
The theme of the place details component.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[],[],null,["# GooglePlacesSwift Framework Reference\n\nPlaceDetailsCompactConfiguration\n================================\n\n struct PlaceDetailsCompactConfiguration\n\n extension PlaceDetailsCompactConfiguration : Sendable\n\nThe configuration of the place details compact view.\n- `\n ``\n ``\n `\n\n ### [content](#/s:17GooglePlacesSwift32PlaceDetailsCompactConfigurationV7contentShyAA0deF7ContentOGvp)\n\n `\n ` \n The set of content types of the place details compact view. \n\n #### Declaration\n\n Swift \n\n let content: Set\u003c../Enums/PlaceDetailsCompactContent.html\u003e\n\n- `\n ``\n ``\n `\n\n ### [init(content:preferTruncation:theme:)](#/s:17GooglePlacesSwift32PlaceDetailsCompactConfigurationV7content16preferTruncation5themeACShyAA0deF7ContentOG_SbAA0B13MaterialThemeVtcfc)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n init(content: Set\u003c../Enums/PlaceDetailsCompactContent.html\u003e, preferTruncation: Bool = false, theme: ../Structs/PlacesMaterialTheme.html)\n\n- `\n ``\n ``\n `\n\n ### [preferTruncation](#/s:17GooglePlacesSwift32PlaceDetailsCompactConfigurationV16preferTruncationSbvp)\n\n `\n ` \n Whether to wrap the text in the view. \n\n #### Declaration\n\n Swift \n\n var preferTruncation: Bool\n\n- `\n ``\n ``\n `\n\n ### [theme](#/s:17GooglePlacesSwift32PlaceDetailsCompactConfigurationV5themeAA0B13MaterialThemeVvp)\n\n `\n ` \n The theme of the place details component. \n\n #### Declaration\n\n Swift \n\n let theme: ../Structs/PlacesMaterialTheme.html"]]