# SearchReviewsSupportable

    protocol SearchReviewsSupportable

A protocol for views that support search reviews options.
- `


  ### [searchReviewsOptions(_:completion:)](https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Protocols/SearchReviewsSupportable#/s:17GooglePlacesSwift24SearchReviewsSupportablePAAE06searchE7Options_10completionxAA0deH0VSg_ySays6ResultOyAA0dE7SummaryVAA0B5ErrorOGGcSgtF)


  ` Extension method Adds search reviews options to a place view.

  When this is set, a search will be performed through the place's reviews.

  If the search was a success, and there were results, they will be displayed for the place.
  In all other cases, the default content will be displayed instead as a fallback
  (if possible).

  #### Declaration

  Swift

      @MainActor
      func searchReviewsOptions(_ options: https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/SearchReviewsOptions.html?, completion: (([Result<https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Structs/SearchReviewsSummary.html, https://developers.google.com/maps/documentation/places/ios-sdk/reference/swift/Enums/PlacesError.html>]) -> Void)? = nil) -> Self

  #### Parameters

  |---|---|
  | ` options ` | The search options for the place's reviews. |
  | ` completion ` | The handler to be called when the searches are completed. |

  #### Return Value

  The view with the search reviews options and completion handler applied.