android-components / mozilla.components.concept.engine.webextension / EnableSource

EnableSource

enum class EnableSource (source)

Provides additional information about why an extension is being enabled or disabled.

Enum Values

Name Summary
USER The extension is enabled or disabled by the user.
APP_SUPPORT The extension is enabled or disabled by the application based on available support.

Properties

Name Summary
id val id: Int

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.