InputScreenActivityParams

data class InputScreenActivityParams(val query: String, val isTopOmnibar: Boolean, val browserButtonsConfig: InputScreenBrowserButtonsConfig, val showInstalledApps: Boolean = false, val launchWithVoice: 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

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard