GooglePlacesSwift Framework Reference

SearchReviewsOptions

struct SearchReviewsOptions
extension SearchReviewsOptions : Equatable, Sendable, SendableMetatype

The options to use when searching through a place’s reviews.

  • 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: SearchReviewsOptions, b: SearchReviewsOptions) -> Bool
  • Initializes a new instance of SearchReviewsOptions.

    Declaration

    Swift

    init(query: String? = nil, rankPreference: SearchReviewsRankPreference = .unspecified)

    Parameters

    query

    The query to use when searching through a place’s reviews.

    rankPreference

    The preferred order of the returned reviews. Defaults to .unspecified.

  • The query to use when searching through a place’s reviews.

    Declaration

    Swift

    var query: String?
  • The preferred order of the returned reviews.

    Declaration

    Swift

    var rankPreference: SearchReviewsRankPreference