Package org.mozilla.geckoview
Class WebExtension.Flags
Object
org.mozilla.geckoview.WebExtension.Flags
- Enclosing class:
- WebExtension
Flags that can be used to configure WebExtension behavior.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Set this flag if you want to enable content scripts messaging.static final long
Default flags for this WebExtension. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NONE
public static final long NONEDefault flags for this WebExtension.- See Also:
-
ALLOW_CONTENT_MESSAGING
public static final long ALLOW_CONTENT_MESSAGINGSet this flag if you want to enable content scripts messaging. To listen to such messages you can useWebExtension.SessionController.setMessageDelegate(org.mozilla.geckoview.WebExtension, org.mozilla.geckoview.WebExtension.MessageDelegate, java.lang.String)
.- See Also:
-
-
Constructor Details
-
Flags
protected Flags()Do not instantiate this class.
-