SearchResultMetadata

public struct SearchResultMetadata : Codable, Hashable

SearchResult additional information, such as phone, website and etc. Extra metadata contained in data field as dictionary.

  • Metadata extra data.

    Declaration

    Swift

    public var data: [String : String]
  • SearchResult primary photos

    Declaration

    Swift

    public var primaryImage: Image?
  • Additional photos

    Declaration

    Swift

    public var otherImages: [Image]?
  • Business phone number

    Declaration

    Swift

    public var phone: String?
  • Business website

    Declaration

    Swift

    public var website: URL?
  • Number of reviews

    Declaration

    Swift

    public var reviewCount: Int?
  • Average rating

    Declaration

    Swift

    public var averageRating: Double?
  • Business opening hours

    Declaration

    Swift

    public var openHours: OpenHours?
  • Access to the raw metadata strings

    Declaration

    Swift

    public subscript(key: String) -> String? { get }