android-components / / Tab


interface Tab (source)

A tab of a TabCollection.


Name Summary
id abstract val id: Long
Unique ID identifying this tab.
title abstract val title: String
The title of the tab.
url abstract val url: String
The URL of the tab.


Name Summary
restore abstract fun restore(context: <ERROR CLASS>, engine: Engine, tab: Tab, restoreSessionId: Boolean = false): Session?
Restores a single tab from this collection and returns a matching Session.

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.