android-components / mozilla.components.browser.state.state / createTab

createTab

fun createTab(url: String, private: Boolean = false, id: String = UUID.randomUUID().toString(), parent: TabSessionState? = null, extensions: Map<String, WebExtensionState> = emptyMap(), readerState: ReaderState = ReaderState()): TabSessionState (source)

Convenient function for creating a tab.