android-components / mozilla.components.browser.engine.gecko.webextension / GeckoPort

GeckoPort

class GeckoPort : Port (source)

Gecko-based implementation of Port, wrapping the native port provided by GeckoView.

Constructors

Name Summary
<init> GeckoPort(nativePort: Port, engineSession: EngineSession? = null)
Gecko-based implementation of Port, wrapping the native port provided by GeckoView.

Inherited Properties

Name Summary
engineSession val engineSession: EngineSession?

Functions

Name Summary
disconnect fun disconnect(): Unit
Disconnects this port.
name fun name(): String
Returns the name of this port.
postMessage fun postMessage(message: <ERROR CLASS>): Unit
Sends a message to this port.