GooglePlacesSwift Framework Reference

PlaceDetailsCompactContent

enum PlaceDetailsCompactContent
extension PlaceDetailsCompactContent : Equatable, Hashable, Sendable

The content type of the place details compact view.

  • Returns a Boolean value indicating whether two values are equal.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    static func == (a: PlaceDetailsCompactContent, b: PlaceDetailsCompactContent) -> Bool
  • Wheelchair icon when a place has an accessible entrance

    Declaration

    Swift

    case accessibleEntranceIcon(Bool = true)
  • The place’s address.

    Declaration

    Swift

    case address(Bool = true)
  • The hash value of the content type.

    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 a Hashable requirement. To conform to Hashable, implement the hash(into:) requirement instead. The compiler provides an implementation for hashValue for you.

    Declaration

    Swift

    var hashValue: Int { get }
  • The place’s photo.

    Declaration

    Swift

    case media(Bool = false)
  • Open/closed status with next closing/opening time.

    Declaration

    Swift

    case openNowStatus(Bool = true)
  • The place’s price.

    Declaration

    Swift

    case price(Bool = true)
  • The place’s rating and rating count.

    Declaration

    Swift

    case rating(Bool = true)
  • The place’s type.

    Declaration

    Swift

    case type(Bool = true)