GooglePlacesSwift Framework Reference

  • 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.

  • PlaceProperty is 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

    enumAutocompleteListDensity
    extensionAutocompleteListDensity:Copyable,Equatable,Escapable,Hashable
  • AutocompleteSuggestion enum with an associated value that contains the actual suggestion.

    Declaration

    Swift

    enumAutocompleteSuggestion
    extensionAutocompleteSuggestion:Equatable,Hashable,Sendable
  • The icon to display inplaceAutocomplete orbasicPlaceAutocomplete.

    Declaration

    Swift

    enumAutocompleteUIIcon
    extensionAutocompleteUIIcon:Copyable,Equatable,Escapable,Hashable
  • Describes the business status of a place.

    Declaration

    Swift

    enumBusinessStatus
    extensionBusinessStatus:CaseIterable,Equatable,Hashable,Identifiable
  • The fields represent individual days of the week.

    Matches NSDateComponents.weekday index.Refer tohttps://developer.apple.com/documentation/foundation/nsdatecomponents/1410442-weekday

    Declaration

    Swift

    enumDayOfWeek
    extensionDayOfWeek:Copyable,Equatable,Escapable,Hashable,RawRepresentable
  • Describes the EV charging connector type.

    Declaration

    Swift

    enumEVConnectorType
    extensionEVConnectorType:CaseIterable,Copyable,Equatable,Escapable,Hashable,RawRepresentable,Sendable
  • Identifies the type of secondary opening hours.

    HoursType is only set for secondary opening hours (i.e. opening hoursreturned fromPlace secondaryOpeningHours).Hours types described here:https://developers.google.com/maps/documentation/places/web-service/details#PlaceOpeningHours-type

    Declaration

    Swift

    enumHoursType
    extensionHoursType:Copyable,Equatable,Escapable,Hashable,RawRepresentable
  • Describes the current open status of a place.

    Declaration

    Swift

    enumOpenNowStatus
    extensionOpenNowStatus:Copyable,Equatable,Escapable,Hashable,RawRepresentable
  • The content type of the place details compact view.

    Declaration

    Swift

    enumPlaceDetailsCompactContent
    extensionPlaceDetailsCompactContent:Equatable,Hashable,Sendable
  • The content that can be displayed in the place details full view.

    Declaration

    Swift

    enumPlaceDetailsContent
    extensionPlaceDetailsContent:Equatable,Hashable,Sendable
  • The orientation of the place details view.

    Declaration

    Swift

    enumPlaceDetailsViewOrientation
    extensionPlaceDetailsViewOrientation:Copyable,Equatable,Escapable,Hashable
  • The place identifier.

    Declaration

    Swift

    enumPlaceIdentifier
  • The properties represent individual information that can be requested for aPlace object.

    If no request properties are set, thePlace object will be empty with no useful information.

    Please refer tohttps://developers.google.com/places/ios-sdk/place-data-fields for moredetails.

    Declaration

    Swift

    enumPlaceProperty
    extensionPlaceProperty:Copyable,Equatable,Escapable,Hashable
  • The types of content that should be displayed in the place search view.

    Declaration

    Swift

    enumPlaceSearchContent
    extensionPlaceSearchContent:Equatable,Hashable,Sendable
  • The type of request that should be used to fetch the place search results.

    Declaration

    Swift

    enumPlaceSearchViewRequest
    extensionPlaceSearchViewRequest:Equatable
  • The attribution position in the place view.

    Declaration

    Swift

    enumPlaceViewAttributionPosition
    extensionPlaceViewAttributionPosition:Copyable,Equatable,Escapable,Hashable,Sendable
  • The size of the media in the place view.

    Declaration

    Swift

    enumPlaceViewMediaSize
    extensionPlaceViewMediaSize:Copyable,Equatable,Escapable,Hashable,Sendable
  • The orientation of the place view.

    Declaration

    Swift

    enumPlaceViewOrientation
    extensionPlaceViewOrientation:Copyable,Equatable,Escapable,Hashable,Sendable
  • The attribution color.

    Declaration

    Swift

    enumPlacesAttributionColor
    extensionPlacesAttributionColor:Equatable,Hashable,Sendable
  • Places error types.

    Declaration

    Swift

    enumPlacesError
    extensionPlacesError:Equatable,Error,Hashable,Sendable
  • The price level of a place.

    Declaration

    Swift

    enumPriceLevel
    extensionPriceLevel: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.