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

DisabledFlags

class DisabledFlags (source)

Flags to check for different reasons why an extension is disabled.

Properties

Name Summary
value val value: Int

Functions

Name Summary
contains fun contains(flag: Int): Boolean
Checks if the provided flag is set.

Companion Object Properties

Name Summary
APP_SUPPORT const val APP_SUPPORT: Int
BLOCKLIST const val BLOCKLIST: Int
USER const val USER: Int

Companion Object Functions

Name Summary
select fun select(vararg flags: Int): DisabledFlags
Selects a combination of flags.

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.