SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
-
The detent options for the search suggestions view.
Medium = half screen, Large = full screen
Declaration
Swift
enum DetentOptions : Int, @unchecked Sendable
Objective-C
enum DetentOptions : NSInteger {}
-
The layout options for the search suggestions view.
Declaration
Swift
enum Layout : Int, @unchecked Sendable
Objective-C
enum SearchSuggestionsViewOptionsLayout : NSInteger {}
-
The theme options for the search suggestions view.
Declaration
Swift
enum Theme : Int, @unchecked Sendable
Objective-C
enum SearchSuggestionsViewOptionsTheme : NSInteger {}
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-11-07 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-11-07 UTC."],[[["\u003cp\u003eThree global enumerations are available: \u003ccode\u003eDetentOptions\u003c/code\u003e, \u003ccode\u003eSearchSuggestionsViewOptionsLayout\u003c/code\u003e, and \u003ccode\u003eSearchSuggestionsViewOptionsTheme\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDetentOptions\u003c/code\u003e controls the size of the search suggestions view, offering medium (half screen) and large (full screen) options.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchSuggestionsViewOptionsLayout\u003c/code\u003e manages the layout of the search suggestions view.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchSuggestionsViewOptionsTheme\u003c/code\u003e dictates the theme or visual style of the search suggestions view.\u003c/p\u003e\n"]]],["Three global enumerations are defined: `DetentOptions`, `SearchSuggestionsViewOptionsLayout`, and `SearchSuggestionsViewOptionsTheme`. `DetentOptions` controls search suggestion view detents, offering \"Medium\" (half-screen) and \"Large\" (full-screen) options. `SearchSuggestionsViewOptionsLayout` dictates the layout, while `SearchSuggestionsViewOptionsTheme` handles the visual theme of the search suggestions view. Each enumeration is available in both Swift and Objective-C, represented as integer-based types.\n"],null,["# SearchInAppsSDK Framework Reference\n\nEnumerations\n============\n\nThe following enumerations are available globally.\n- `\n ``\n ``\n `\n\n ### [DetentOptions](/search-in-apps/ios/reference/api/objc_reference/Enums/DetentOptions)\n\n `\n ` \n The detent options for the search suggestions view.\n Medium = half screen, Large = full screen \n\n #### Declaration\n\n Swift \n\n enum DetentOptions : Int, @unchecked Sendable\n\n Objective-C \n\n enum DetentOptions : NSInteger {}\n\n- `\n ``\n ``\n `\n\n ### [SearchSuggestionsViewOptionsLayout](/search-in-apps/ios/reference/api/objc_reference/Enums/SearchSuggestionsViewOptionsLayout)\n\n `\n ` \n The layout options for the search suggestions view. \n\n #### Declaration\n\n Swift \n\n enum Layout : Int, @unchecked Sendable\n\n Objective-C \n\n enum SearchSuggestionsViewOptionsLayout : NSInteger {}\n\n- `\n ``\n ``\n `\n\n ### [SearchSuggestionsViewOptionsTheme](/search-in-apps/ios/reference/api/objc_reference/Enums/SearchSuggestionsViewOptionsTheme)\n\n `\n ` \n The theme options for the search suggestions view. \n\n #### Declaration\n\n Swift \n\n enum Theme : Int, @unchecked Sendable\n\n Objective-C \n\n enum SearchSuggestionsViewOptionsTheme : NSInteger {}"]]