android-components / mozilla.components.browser.engine.servo / ServoEngine

# ServoEngine

`class ServoEngine : Engine` (source)

Servo-based implementation of the Engine interface.

### Constructors

<init> | `ServoEngine(defaultSettings: DefaultSettings? = DefaultSettings())` Servo-based implementation of the Engine interface.

### Properties

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

### Functions

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