SearchInAppsSDK Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
SearchSuggestionsViewOptionsTheme
enum SearchSuggestionsViewOptionsTheme : NSInteger {}
The theme options for the search suggestions view.
-
The theme is always light mode.
Declaration
Swift
case alwaysLight = 0
Objective-C
SearchSuggestionsViewOptionsThemeAlwaysLight = 0
-
The theme is always dark mode.
Declaration
Swift
case alwaysDark = 1
Objective-C
SearchSuggestionsViewOptionsThemeAlwaysDark = 1
-
The theme will switch between light and dark modes based on the current system settings.
Declaration
Swift
case matchSystem = 2
Objective-C
SearchSuggestionsViewOptionsThemeMatchSystem = 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."],[[["`SearchSuggestionsViewOptionsTheme` provides options to customize the theme of the search suggestions view."],["Three theme options are available: `alwaysLight`, `alwaysDark`, and `matchSystem`."],["`alwaysLight` and `alwaysDark` force the view to be in light or dark mode respectively, while `matchSystem` follows the system's current theme settings."]]],["The `SearchSuggestionsViewOptionsTheme` enum defines theme options for a search suggestions view. It offers three options: `alwaysLight` (0), which forces light mode; `alwaysDark` (1), which forces dark mode; and `matchSystem` (2), which dynamically switches between light and dark modes based on the device's current system settings. These options are available in both Swift and Objective-C with corresponding integer values.\n"]]