GooglePlacesSwift Framework Reference Stay organized with collections Save and categorize content based on your preferences.
AI-generated Key Takeaways
This documentation details globally available enumerations in the Places SDK for iOS.
These enumerations provide structured data types for various place-related attributes, such as business status, opening hours, and price level.
Developers can use these enumerations to request and handle specific information about places when using the SDK.
Each enumeration is described with its purpose and relevant links for further details.
PlacePropertyis particularly important as it defines the data fields that can be retrieved for a place object.
Enumerations
The following enumerations are available globally.
The content density of the suggestion list.
Declaration
Swift
enumAutocompleteListDensityextensionAutocompleteListDensity:Copyable,Equatable,Escapable,HashableAutocompleteSuggestion enum with an associated value that contains the actual suggestion.
Declaration
Swift
enumAutocompleteSuggestionextensionAutocompleteSuggestion:Equatable,Hashable,SendableThe icon to display in
placeAutocompleteorbasicPlaceAutocomplete.Declaration
Swift
enumAutocompleteUIIconextensionAutocompleteUIIcon:Copyable,Equatable,Escapable,HashableDescribes the business status of a place.
Declaration
Swift
enumBusinessStatusextensionBusinessStatus:CaseIterable,Equatable,Hashable,IdentifiableThe fields represent individual days of the week.
Matches NSDateComponents.weekday index.Refer tohttps://developer.apple.com/documentation/foundation/nsdatecomponents/1410442-weekday
Declaration
Swift
enumDayOfWeekextensionDayOfWeek:Copyable,Equatable,Escapable,Hashable,RawRepresentableDescribes the EV charging connector type.
Declaration
Swift
enumEVConnectorTypeextensionEVConnectorType:CaseIterable,Copyable,Equatable,Escapable,Hashable,RawRepresentable,SendableIdentifies the type of secondary opening hours.
HoursTypeis only set for secondary opening hours (i.e. opening hoursreturned fromPlacesecondaryOpeningHours).Hours types described here:https://developers.google.com/maps/documentation/places/web-service/details#PlaceOpeningHours-typeDeclaration
Swift
enumHoursTypeextensionHoursType:Copyable,Equatable,Escapable,Hashable,RawRepresentableDescribes the current open status of a place.
Declaration
Swift
enumOpenNowStatusextensionOpenNowStatus:Copyable,Equatable,Escapable,Hashable,RawRepresentableThe content type of the place details compact view.
Declaration
Swift
enumPlaceDetailsCompactContentextensionPlaceDetailsCompactContent:Equatable,Hashable,SendableThe content that can be displayed in the place details full view.
Declaration
Swift
enumPlaceDetailsContentextensionPlaceDetailsContent:Equatable,Hashable,SendableThe orientation of the place details view.
Declaration
Swift
enumPlaceDetailsViewOrientationextensionPlaceDetailsViewOrientation:Copyable,Equatable,Escapable,HashableThe place identifier.
Declaration
Swift
enumPlaceIdentifierThe properties represent individual information that can be requested for a
Placeobject.If no request properties are set, the
Placeobject will be empty with no useful information.Please refer tohttps://developers.google.com/places/ios-sdk/place-data-fields for moredetails.
Declaration
Swift
enumPlacePropertyextensionPlaceProperty:Copyable,Equatable,Escapable,HashableThe types of content that should be displayed in the place search view.
Declaration
Swift
enumPlaceSearchContentextensionPlaceSearchContent:Equatable,Hashable,SendableThe type of request that should be used to fetch the place search results.
Declaration
Swift
enumPlaceSearchViewRequestextensionPlaceSearchViewRequest:EquatableThe attribution position in the place view.
Declaration
Swift
enumPlaceViewAttributionPositionextensionPlaceViewAttributionPosition:Copyable,Equatable,Escapable,Hashable,SendableThe size of the media in the place view.
Declaration
Swift
enumPlaceViewMediaSizeextensionPlaceViewMediaSize:Copyable,Equatable,Escapable,Hashable,SendableThe orientation of the place view.
Declaration
Swift
enumPlaceViewOrientationextensionPlaceViewOrientation:Copyable,Equatable,Escapable,Hashable,SendableThe attribution color.
Declaration
Swift
enumPlacesAttributionColorextensionPlacesAttributionColor:Equatable,Hashable,SendablePlaces error types.
Declaration
Swift
enumPlacesErrorextensionPlacesError:Equatable,Error,Hashable,SendableThe price level of a place.
Declaration
Swift
enumPriceLevelextensionPriceLevel:CaseIterable,Equatable,Hashable,Identifiable
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-02 UTC.