android-components / mozilla.components.concept.engine / Engine

# Engine

`interface Engine` (source)

Entry point for interacting with the engine implementation.

### Properties

settings | `abstract val settings: Settings` Provides access to the settings of this engine.

### Functions

createSession | `abstract fun createSession(private: Boolean = false): EngineSession` Creates a new engine session.
createView | `abstract fun createView(context: Context, attrs: AttributeSet? = null): EngineView` Creates a new view for rendering web content.
name | `abstract 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.

### Inheritors

GeckoEngine | `class GeckoEngine : Engine` Gecko-based implementation of Engine interface.
ServoEngine | `class ServoEngine : Engine` Servo-based implementation of the Engine interface.
SystemEngine | `class SystemEngine : Engine` WebView-based implementation of the Engine interface.