InputScreenActivityParams

data class InputScreenActivityParams(val query: String, val isTopOmnibar: Boolean, val browserButtonsConfig: InputScreenBrowserButtonsConfig, val showInstalledApps: Boolean = false, val launchWithVoice: Boolean = false, val launchOnChat: Boolean = false, val useBottomSheetMenu: Boolean = false, val showReturnHatch: Boolean = false, val isNewTab: Boolean = false) : GlobalActivityStarter.ActivityParams

Parameters for launching the Input Screen activity.

Parameters

query

The initial query text to pre-populate in the input field

isTopOmnibar

whether the omnibar is positioned at the top of the screen

browserButtonsConfig

configuration for displaying browser buttons (Fire Button, Tab Switcher, Menu)

showInstalledApps

whether apps installed on the device should appear in autocomplete results

launchWithVoice

whether to immediately launch voice input on activity start, if supported and enabled

isNewTab

whether the input screen is being launched as part of a new tab creation action

Constructors

Link copied to clipboard
constructor(query: String, isTopOmnibar: Boolean, browserButtonsConfig: InputScreenBrowserButtonsConfig, showInstalledApps: Boolean = false, launchWithVoice: Boolean = false, launchOnChat: Boolean = false, useBottomSheetMenu: Boolean = false, showReturnHatch: Boolean = false, isNewTab: Boolean = false)

Properties

Link copied to clipboard
val isNewTab: Boolean = false
Link copied to clipboard
Link copied to clipboard
val launchOnChat: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard