AI-generated Key Takeaways
-
PlaceProperty
is an enum representing individual pieces of data that can be requested for aPlace
object. -
If no
PlaceProperty
values are specified during a place request, the resultingPlace
object will be empty. -
Refer to the official Google Places iOS SDK documentation for detailed information about each available place data field.
-
The
PlaceProperty
enum conforms toEquatable
andHashable
protocols for comparison and usage in collections. -
Use
PlaceProperty
values when fetchingPlace
data to specify the desired information, ensuring efficient and targeted data retrieval.
PlaceProperty
enum PlaceProperty
extension PlaceProperty : Copyable, Equatable, Escapable, Hashable
The properties represent individual information that can be requested for a Place
object.
If no request properties are set, the Place
object will be empty with no useful information.
Please refer to https://developers.google.com/places/ios-sdk/place-data-fields for more details.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (a: PlaceProperty, b: PlaceProperty) -> Bool
-
Declaration
Swift
case accessibilityOptions
-
Declaration
Swift
case addressComponents
-
Declaration
Swift
case all
-
Declaration
Swift
case businessStatus
-
Declaration
Swift
case consumerAlert
-
Declaration
Swift
case coordinate
-
Declaration
Swift
case currentOpeningHours
-
Declaration
Swift
case currentSecondaryOpeningHours
-
Declaration
Swift
case displayName
-
Declaration
Swift
case editorialSummary
-
Declaration
Swift
case evChargeAmenitySummary
-
Declaration
Swift
case evChargeOptions
-
Declaration
Swift
case formattedAddress
-
Declaration
Swift
case generativeSummary
-
Hashes the essential components of this value by feeding them into the given hasher.
Implement this method to conform to the
Hashable
protocol. The components used for hashing must be the same as the components compared in your type’s==
operator implementation. Callhasher.combine(_:)
with each of these components.Important
In your implementation of
hash(into:)
, don’t callfinalize()
on thehasher
instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.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 aHashable
requirement. To conform toHashable
, implement thehash(into:)
requirement instead. The compiler provides an implementation forhashValue
for you.Declaration
Swift
var hashValue: Int { get }
-
Declaration
Swift
case iconBackgroundColor
-
Declaration
Swift
case iconMaskURL
-
Declaration
Swift
case internationalPhoneNumber
-
Declaration
Swift
case isReservable
-
Declaration
Swift
case neighborhoodSummary
-
Declaration
Swift
case numberOfUserRatings
-
Declaration
Swift
case parkingOptions
-
Declaration
Swift
case photos
-
Declaration
Swift
case placeID
-
Declaration
Swift
case plusCode
-
Declaration
Swift
case priceLevel
-
Declaration
Swift
case pureServiceAreaBusiness
-
Declaration
Swift
case rating
-
Declaration
Swift
case regularOpeningHours
-
Declaration
Swift
case reviewSummary
-
Declaration
Swift
case reviews
-
Declaration
Swift
case servesBeer
-
Declaration
Swift
case servesBreakfast
-
Declaration
Swift
case servesBrunch
-
Declaration
Swift
case servesDinner
-
Declaration
Swift
case servesLunch
-
Declaration
Swift
case servesVegetarianFood
-
Declaration
Swift
case servesWine
-
Declaration
Swift
case supportsCurbsidePickup
-
Declaration
Swift
case supportsDelivery
-
Declaration
Swift
case supportsDineIn
-
Declaration
Swift
case supportsTakeout
-
Declaration
Swift
case timeZone
-
Declaration
Swift
case types
-
Declaration
Swift
case viewportInfo
-
Declaration
Swift
case websiteURL