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."],[[["\u003cp\u003e\u003ccode\u003eSearchSuggestionsViewOptionsLayout\u003c/code\u003e provides different layout options for displaying search suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etiling\u003c/code\u003e layout displays suggestions in multiple lines.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecarousel\u003c/code\u003e layout uses two lines, one for the headline and a horizontally scrollable line for suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ecompactCarousel\u003c/code\u003e layout displays suggestions in a single, horizontally scrollable line.\u003c/p\u003e\n"]]],["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"],null,["# SearchInAppsSDK Framework Reference\n\nSearchSuggestionsViewOptionsLayout\n==================================\n\n enum SearchSuggestionsViewOptionsLayout : NSInteger {}\n\nThe layout options for the search suggestions view.\n- `\n ``\n ``\n `\n\n ### [SearchSuggestionsViewOptionsLayoutTiling](#/c:@M@SearchInAppsSDK@E@SearchSuggestionsViewOptionsLayout@SearchSuggestionsViewOptionsLayoutTiling)\n\n `\n ` \n In this layout, search suggestions will all be displayed in multiple lines like tiling at\n the very beginning. \n\n #### Declaration\n\n Swift \n\n case tiling = 0\n\n Objective-C \n\n SearchSuggestionsViewOptionsLayoutTiling = 0\n\n- `\n ``\n ``\n `\n\n ### [SearchSuggestionsViewOptionsLayoutCarousel](#/c:@M@SearchInAppsSDK@E@SearchSuggestionsViewOptionsLayout@SearchSuggestionsViewOptionsLayoutCarousel)\n\n `\n ` \n In this layout, search suggestions will be displayed in two lines, one for the headline and\n one for the search suggestions which is horizontally scrollable. \n\n #### Declaration\n\n Swift \n\n case carousel = 1\n\n Objective-C \n\n SearchSuggestionsViewOptionsLayoutCarousel = 1\n\n- `\n ``\n ``\n `\n\n ### [SearchSuggestionsViewOptionsLayoutCompactCarousel](#/c:@M@SearchInAppsSDK@E@SearchSuggestionsViewOptionsLayout@SearchSuggestionsViewOptionsLayoutCompactCarousel)\n\n `\n ` \n In this layout, search suggestions will be displayed in a single line, and users should\n swipe horizontally to view more suggestions. \n\n #### Declaration\n\n Swift \n\n case compactCarousel = 2\n\n Objective-C \n\n SearchSuggestionsViewOptionsLayoutCompactCarousel = 2"]]