GooglePlacesSwift Framework Reference

Structures

The following structures are available globally.

  • Information about the accessibility options a place offers.

    Declaration

    Swift

    struct AccessibilityOptions
  • Represents a component of an address, e.g., street number, postcode, city, etc.

    Declaration

    Swift

    struct AddressComponent
    extension AddressComponent : CustomStringConvertible, Equatable, Hashable
  • Undocumented

    Declaration

    Swift

    struct AuthorAttribution
    extension AuthorAttribution : CustomStringConvertible, Equatable, Hashable
  • Represents a set of restrictions that may be applied to autocomplete requests. This allows customization of autocomplete suggestions to only those places that are of interest.

    Declaration

    Swift

    struct AutocompleteFilter
  • This class represents a suggestion of a full query based on a partially typed string. */

    Declaration

    Swift

    struct AutocompletePlaceSuggestion
    extension AutocompletePlaceSuggestion : CustomStringConvertible, Equatable, Hashable
  • The request for autocomplete suggestions based on a given partial query along with additional configuring properties.

    Declaration

    Swift

    struct AutocompleteRequest
  • This class represents an session token to uniquely identify an series of queries to the Google Places API Services for fetching place predictions for a partial search string.

    Declaration

    Swift

    struct AutocompleteSessionToken
    extension AutocompleteSessionToken : Equatable, Hashable
  • CircularCoordinateRegion represents a circular bounding region on the Earth’s surface. CircularCoordinateRegion is immutable and can’t be modified after construction.

    Declaration

    Swift

    struct CircularCoordinateRegion
    extension CircularCoordinateRegion : CoordinateRegion, CoordinateRegion, CoordinateRegionBias, CoordinateRegionRestriction, Equatable, Equatable, Hashable, Hashable
  • A class representing a open/close event in Period.

    Declaration

    Swift

    struct Event
    extension Event : CustomStringConvertible, Equatable, Hashable
  • The request for a specific placeID and place properties to include in the Place response.

    Declaration

    Swift

    struct FetchPhotoRequest
  • The request for a specific placeID and place properties to include in the Place response.

    Declaration

    Swift

    struct FetchPlaceRequest
  • Represents an IsPlaceOpenRequest definition to be sent via PlacesClient.

    Declaration

    Swift

    struct IsPlaceOpenRequest
  • The response from the isPlaceOpen method.

    Declaration

    Swift

    struct IsPlaceOpenResponse
  • A type to handle storing and accessing opening hours information for Place.

    Declaration

    Swift

    struct OpeningHours
    extension OpeningHours : CustomStringConvertible, Equatable, Hashable
  • A type representing a period of time where the place is operating for a Place.

    Contains an open Event and an optional close Event. The close event will be nil if the period is open 24hrs.

    Declaration

    Swift

    struct Period
    extension Period : CustomStringConvertible, Equatable, Hashable
  • The metadata corresponding to a single photo associated with a place.

    Declaration

    Swift

    struct Photo
    extension Photo : CustomStringConvertible, Equatable, Hashable
  • Represents a particular physical place.

    A Place encapsulates information about a physical location, including its name, location, and any other information we might have about it. This class is immutable.

    Declaration

    Swift

    struct Place
    extension Place : CustomStringConvertible, Equatable, Hashable, PlaceProtocol
  • Declaration

    Swift

    struct PlaceType
    extension PlaceType : Equatable, Hashable, RawRepresentable
  • A class containing the Plus codes representation for a location.

    See https://plus.codes/ for more details.

    Declaration

    Swift

    struct PlusCode
    extension PlusCode : CustomStringConvertible, Equatable, Hashable
  • RectangularCoordinateRegion represents a rectangular bounding box on the Earth’s surface. RectangularCoordinateRegion is immutable and can’t be modified after construction.

    Declaration

    Swift

    struct RectangularCoordinateRegion
    extension RectangularCoordinateRegion : CoordinateRegion, CoordinateRegion, CoordinateRegionBias, CoordinateRegionRestriction, Equatable, Equatable, Hashable, Hashable
  • Undocumented

    Declaration

    Swift

    struct Review
    extension Review : CustomStringConvertible, Equatable, Hashable
  • Undocumented

    Declaration

    Swift

    struct SearchByTextRequest
  • Undocumented

    Declaration

    Swift

    struct SearchNearbyRequest
  • Represents information on a particular day which may have opening hours different than normal.

    Declaration

    Swift

    struct SpecialDay
    extension SpecialDay : CustomStringConvertible, Equatable, Hashable
  • Time represents time in hours and minutes in a 24hr clock.

    Declaration

    Swift

    struct Time
    extension Time : CustomStringConvertible, Equatable, Hashable