BrowserNav

interface BrowserNav

Public interface to provide navigation Intents related to browser screen

Functions

Link copied to clipboard
abstract fun closeDuckChat(context: Context): Intent
Link copied to clipboard
abstract fun openDuckChat(context: Context, hasSessionActive: Boolean = false, duckChatUrl: String): Intent
Link copied to clipboard
abstract fun openExistingTab(context: Context, tabId: String): Intent

Returns an Intent that brings the browser to the foreground and switches to the tab identified by tabId.

Link copied to clipboard
abstract fun openInCurrentTab(context: Context, url: String): Intent
Link copied to clipboard
abstract fun openInNewTab(context: Context, url: String): Intent