android-components / mozilla.components.concept.toolbar / Toolbar / addBrowserAction

addBrowserAction

abstract fun addBrowserAction(action: Action): Unit (source)

Adds an action to be displayed on the right side of the toolbar in display mode.

Related: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/user_interface/Browser_action