android-components / mozilla.components.feature.toolbar / WebExtensionToolbarFeature

WebExtensionToolbarFeature

class WebExtensionToolbarFeature : LifecycleAwareFeature (source)

Web extension toolbar implementation that updates the toolbar whenever the state of web extensions changes.

Constructors

Name Summary
<init> WebExtensionToolbarFeature(toolbar: Toolbar, store: BrowserStore)
Web extension toolbar implementation that updates the toolbar whenever the state of web extensions changes.

Functions

Name Summary
start fun start(): Unit
Starts observing for the state of web extensions changes
stop fun stop(): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.