GooglePlacesSwift Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
PlaceDetailsCompactContent
enum PlaceDetailsCompactContent
extension PlaceDetailsCompactContent : Equatable, Hashable, Sendable
The content type of the place details compact view.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values a
and b
,
a == b
implies that a != b
is false
.
Declaration
Swift
static func == (a: PlaceDetailsCompactContent, b: PlaceDetailsCompactContent) -> Bool
-
Wheelchair icon when a place has an accessible entrance
Declaration
Swift
case accessibleEntranceIcon(Bool = true)
-
Declaration
Swift
case address(Bool = true)
-
The hash value of the content type.
Declaration
Swift
func hash(into hasher: inout Hasher)
-
The hash value.
Hash values are not guaranteed to be equal across different executions of
your program. Do not save hash values to use during a future execution.
Important
hashValue
is deprecated as a
Hashable
requirement. To
conform to
Hashable
, implement the
hash(into:)
requirement instead.
The compiler provides an implementation for
hashValue
for you.
Declaration
Swift
var hashValue: Int { get }
-
Declaration
Swift
case media(Bool = false)
-
Open/closed status with next closing/opening time.
Declaration
Swift
case openNowStatus(Bool = true)
-
Declaration
Swift
case price(Bool = true)
-
The place’s rating and rating count.
Declaration
Swift
case rating(Bool = true)
-
Declaration
Swift
case type(Bool = true)
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\nPlaceDetailsCompactContent\n==========================\n\n enum PlaceDetailsCompactContent\n\n extension PlaceDetailsCompactContent : Equatable, Hashable, Sendable\n\nThe content type of the place details compact view.\n- `\n ``\n ``\n `\n\n ### [==(_:_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO2eeoiySbAC_ACtFZ)\n\n `\n ` \n Returns a Boolean value indicating whether two values are equal.\n\n Equality is the inverse of inequality. For any values `a` and `b`,\n `a == b` implies that `a != b` is `false`. \n\n #### Declaration\n\n Swift \n\n static func == (a: PlaceDetailsCompactContent, b: PlaceDetailsCompactContent) -\u003e Bool\n\n- `\n ``\n ``\n `\n\n ### [accessibleEntranceIcon(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO22accessibleEntranceIconyACSbcACmF)\n\n `\n ` \n Wheelchair icon when a place has an accessible entrance \n\n #### Declaration\n\n Swift \n\n case accessibleEntranceIcon(Bool = true)\n\n- `\n ``\n ``\n `\n\n ### [address(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO7addressyACSbcACmF)\n\n `\n ` \n The place's address. \n\n #### Declaration\n\n Swift \n\n case address(Bool = true)\n\n- `\n ``\n ``\n `\n\n ### [hash(into:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO4hash4intoys6HasherVz_tF)\n\n `\n ` \n The hash value of the content type. \n\n #### Declaration\n\n Swift \n\n func hash(into hasher: inout Hasher)\n\n- `\n ``\n ``\n `\n\n ### [hashValue](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO9hashValueSivp)\n\n `\n ` \n The hash value.\n\n Hash values are not guaranteed to be equal across different executions of\n your program. Do not save hash values to use during a future execution. \n Important\n `hashValue` is deprecated as a `Hashable` requirement. To conform to `Hashable`, implement the [hash(into:)](../Enums/PlaceDetailsCompactContent.html#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO4hash4intoys6HasherVz_tF) requirement instead. The compiler provides an implementation for `hashValue` for you. \n\n #### Declaration\n\n Swift \n\n var hashValue: Int { get }\n\n- `\n ``\n ``\n `\n\n ### [media(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO5mediayACSbcACmF)\n\n `\n ` \n The place's photo. \n\n #### Declaration\n\n Swift \n\n case media(Bool = false)\n\n- `\n ``\n ``\n `\n\n ### [openNowStatus(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO13openNowStatusyACSbcACmF)\n\n `\n ` \n Open/closed status with next closing/opening time. \n\n #### Declaration\n\n Swift \n\n case openNowStatus(Bool = true)\n\n- `\n ``\n ``\n `\n\n ### [price(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO5priceyACSbcACmF)\n\n `\n ` \n The place's price. \n\n #### Declaration\n\n Swift \n\n case price(Bool = true)\n\n- `\n ``\n ``\n `\n\n ### [rating(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO6ratingyACSbcACmF)\n\n `\n ` \n The place's rating and rating count. \n\n #### Declaration\n\n Swift \n\n case rating(Bool = true)\n\n- `\n ``\n ``\n `\n\n ### [type(_:)](#/s:17GooglePlacesSwift26PlaceDetailsCompactContentO4typeyACSbcACmF)\n\n `\n ` \n The place's type. \n\n #### Declaration\n\n Swift \n\n case type(Bool = true)"]]