Enumerations
The following enumerations are available globally.
-
AutocompleteSuggestion enum with an associated value that contains the actual suggestion.
Declaration
Swift
enum AutocompleteSuggestion
extension AutocompleteSuggestion : Equatable, Hashable
-
Describes the business status of a place.
Declaration
Swift
enum BusinessStatus
extension BusinessStatus : CaseIterable, Equatable, Hashable, Identifiable
-
The fields represent individual days of the week.
Matches NSDateComponents.weekday index. Refer to https://developer.apple.com/documentation/foundation/nsdatecomponents/1410442-weekday
Declaration
Swift
enum DayOfWeek
extension DayOfWeek : Equatable, Hashable, RawRepresentable
-
Identifies the type of secondary opening hours.
HoursType
is only set for secondary opening hours (i.e. opening hours returned fromPlace
secondaryOpeningHours). Hours types described here: https://developers.google.com/maps/documentation/places/web-service/details#PlaceOpeningHours-typeDeclaration
Swift
enum HoursType
extension HoursType : Equatable, Hashable, RawRepresentable
-
Describes the current open status of a place.
Declaration
Swift
enum OpenNowStatus
extension OpenNowStatus : Equatable, Hashable, RawRepresentable
-
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.
Declaration
Swift
enum PlaceProperty
extension PlaceProperty : Equatable, Hashable
-
Places error types.
Declaration
Swift
enum PlacesError
extension PlacesError : Equatable, Error, Hashable, Sendable
-
The price level of a place.
Declaration
Swift
enum PriceLevel
extension PriceLevel : CaseIterable, Equatable, Hashable, Identifiable