SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
SearchSuggestionsViewOptionsLayout
enum SearchSuggestionsViewOptionsLayout : NSInteger {}
The layout options for the search suggestions view.
-
In this layout, search suggestions will all be displayed in multiple lines like tiling at
the very beginning.
Declaration
Objective-C
SearchSuggestionsViewOptionsLayoutTiling = 0
-
In this layout, search suggestions will be displayed in two lines, one for the headline and
one for the search suggestions which is horizontally scrollable.
Declaration
Objective-C
SearchSuggestionsViewOptionsLayoutCarousel = 1
-
In this layout, search suggestions will be displayed in a single line, and users should
swipe horizontally to view more suggestions.
Declaration
Swift
case compactCarousel = 2
Objective-C
SearchSuggestionsViewOptionsLayoutCompactCarousel = 2
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["`SearchSuggestionsViewOptionsLayout` provides different layout options for displaying search suggestions."],["The `tiling` layout displays suggestions in multiple lines."],["The `carousel` layout uses two lines, one for the headline and a horizontally scrollable line for suggestions."],["The `compactCarousel` layout displays suggestions in a single, horizontally scrollable line."]]],["The `SearchSuggestionsViewOptionsLayout` enum defines three layout options for displaying search suggestions. `Tiling` (value 0) displays suggestions in multiple lines like tiling. `Carousel` (value 1) shows suggestions in two lines, with the second line horizontally scrollable. `CompactCarousel` (value 2) displays suggestions in a single, horizontally scrollable line. These layout options allow users to choose how they want to visualize the search suggestions.\n"]]