VoiceSearchAvailability

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Emits isVoiceSearchAvailable now and again whenever the user toggles "Private Voice Search", so consumers can re-evaluate visibility immediately instead of waiting for the next focus or page-load event.

Link copied to clipboard
abstract fun shouldShowVoiceSearch(hasFocus: Boolean = false, query: String = "", hasQueryChanged: Boolean = false, urlLoaded: String = ""): Boolean