# SearchInAppsSDK Framework Reference

# SearchSuggestionsViewOptions

    @objc
    class SearchSuggestionsViewOptions

This class provides all the options to customize the search suggestions UI view.
- `


  ### [Layout](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Layout.html)


  ` The layout options for the search suggestions view.

  #### Declaration

  Swift

      @objc(SearchSuggestionsViewOptionsLayout)
      enum Layout

- `


  ### [ObjectWillChangePublisher](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/s:15SearchInAppsSDK0A22SuggestionsViewOptionsC25ObjectWillChangePublishera)


  ` The type of publisher that emits before the object has changed.

  #### Declaration

  Swift

      @available(iOS, introduced: 14)
      typealias ObjectWillChangePublisher = ObservableObjectPublisher

- `


  ### [Theme](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Theme.html)


  ` The theme options for the search suggestions view.

  #### Declaration

  Swift

      @objc(SearchSuggestionsViewOptionsTheme)
      enum Theme

- `


  ### [clickNotificationDelegate](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)clickNotificationDelegate)


  ` The click notification delegate for the search suggestions view.

  #### Declaration

  Swift

      @objc
      weak var clickNotificationDelegate: (any https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Protocols/SearchContentClickNotificationDelegate.html)?

- `


  ### [customizedSheetHeightFraction](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)customizedSheetHeightFraction)


  ` The specified fraction of the screen height to present the sheet. The valid value is between
  0.5 and 1.0. iOS 16.0+ only.

  #### Declaration

  Swift

      @objc
      var customizedSheetHeightFraction: CGFloat

- `


  ### [detentOption](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)detentOption)


  ` The specified detent option to render search sheet (e.g. medium/large).

  #### Declaration

  Swift

      @objc
      var detentOption: https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Enums/DetentOptions.html

- `


  ### [layout](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)layout)


  ` The specified layout to render search suggestion chips (e.g. carousel)

  #### Declaration

  Swift

      @objc
      var layout: SearchSuggestionsViewOptions.https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Layout.html { get set }

- `


  ### [openURLDelegate](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)openURLDelegate)


  ` The open URL delegate for the search suggestions view.

  #### Declaration

  Swift

      @objc
      weak var openURLDelegate: (any https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Protocols/SearchContentOpenURLDelegate.html)?

- `


  ### [theme](https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions#/c:@M@SearchInAppsSDK@objc(cs)SearchSuggestionsViewOptions(py)theme)


  ` The specified theme to render search suggestion chips (e.g. light/dark mode)

  #### Declaration

  Swift

      @objc
      var theme: SearchSuggestionsViewOptions.https://developers.google.com/search-in-apps/ios/reference/api/swift_reference/Classes/SearchSuggestionsViewOptions/Theme.html { get set }