android-components / mozilla.components.browser.engine.gecko / GeckoEngine

# GeckoEngine

`class GeckoEngine : Engine` (source)

Gecko-based implementation of Engine interface.

### Constructors

<init> | `GeckoEngine(context: Context, defaultSettings: Settings? = null, runtime: GeckoRuntime = GeckoRuntime.getDefault(context))` Gecko-based implementation of Engine interface.

### Properties

settings | `val settings: Settings` See Engine.settings

### Functions

createSession | `fun createSession(private: Boolean): EngineSession` Creates a new Gecko-based EngineSession.
createView | `fun createView(context: Context, attrs: AttributeSet?): EngineView` Creates a new Gecko-based EngineView.
name | `fun name(): String` Returns the name of this engine. The returned string might be used in filenames and must therefore only contain valid filename characters.