KCEFBrowser

Class that inherits the default CefBrowser with additional methods.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun canGoBack(): Boolean
Link copied to clipboard
open override fun canGoForward(): Boolean
Link copied to clipboard
open override fun close(p0: Boolean)
Link copied to clipboard
open override fun createImmediately()
Link copied to clipboard
Link copied to clipboard
fun dispose()

Dispose this browser instance.

Link copied to clipboard
open override fun doClose(): Boolean
Link copied to clipboard
suspend fun evaluateJavaScript(javaScriptExpression: String): String?

Execute the Javascript code and wait for a response. This suspend equivalent is useful if you want to work with timeouts for example.

fun evaluateJavaScript(javaScriptExpression: String, callback: KCEFFrame.EvaluateJavascriptCallback)

Execute the Javascript code and get the response in callback.

Link copied to clipboard
fun evaluateJavaScriptBlocking(javaScriptExpression: String): String?

Blocking equivalent of evaluateJavaScript

Link copied to clipboard
open override fun executeJavaScript(p0: String, p1: String, p2: Int)
Link copied to clipboard
open override fun find(p0: String, p1: Boolean, p2: Boolean, p3: Boolean)
Link copied to clipboard
open override fun getClient(): CefClient
Link copied to clipboard
open override fun getDevTools(): CefBrowser
open override fun getDevTools(p0: Point): CefBrowser
Link copied to clipboard
Link copied to clipboard
open override fun getFocusedFrame(): CefFrame
Link copied to clipboard
open override fun getFrameByIdentifier(identifier: String?): CefFrame?
Link copied to clipboard
open override fun getFrameByName(name: String?): CefFrame?
Link copied to clipboard
open override fun getFrameCount(): Int
Link copied to clipboard
open override fun getFrameIdentifiers(): Vector<String>
Link copied to clipboard
open override fun getFrameNames(): Vector<String>
Link copied to clipboard
open override fun getIdentifier(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getMainFrame(): CefFrame
Link copied to clipboard
open override fun getRenderHandler(): CefRenderHandler
Link copied to clipboard
Link copied to clipboard
open override fun getSource(p0: CefStringVisitor)
Link copied to clipboard
open override fun getText(p0: CefStringVisitor)
Link copied to clipboard
open override fun getUIComponent(): Component
Link copied to clipboard
open override fun getURL(): String
Link copied to clipboard
open override fun getWindowHandler(): CefWindowHandler
Link copied to clipboard
Link copied to clipboard
open override fun getZoomLevel(): Double
Link copied to clipboard
open override fun goBack()
Link copied to clipboard
open override fun goForward()
Link copied to clipboard
open override fun hasDocument(): Boolean
Link copied to clipboard
open override fun ImeCancelComposing()
Link copied to clipboard
open override fun ImeCommitText(p0: String, p1: CefRange, p2: Int)
Link copied to clipboard
open override fun ImeFinishComposingText(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
open override fun isClosed(): Boolean
Link copied to clipboard
open override fun isClosing(): Boolean
Link copied to clipboard
open override fun isLoading(): Boolean
Link copied to clipboard
open override fun isPopup(): Boolean
Link copied to clipboard
fun loadHtml(html: String, url: String = BLANK_URI)

Loads HTML content.

Link copied to clipboard
open override fun loadRequest(p0: CefRequest)
Link copied to clipboard
open override fun loadURL(p0: String)
Link copied to clipboard
open override fun notifyScreenInfoChanged()
Link copied to clipboard
open override fun onBeforeClose()
Link copied to clipboard
open override fun print()
Link copied to clipboard
open override fun printToPDF(p0: String, p1: CefPdfPrintSettings, p2: CefPdfPrintCallback)
Link copied to clipboard
open override fun reload()
Link copied to clipboard
open override fun reloadIgnoreCache()
Link copied to clipboard
open override fun replaceMisspelling(p0: String)
Link copied to clipboard
Link copied to clipboard
open override fun sendKeyEvent(p0: KeyEvent)
Link copied to clipboard
open override fun sendMouseEvent(p0: MouseEvent)
Link copied to clipboard
open override fun sendMouseWheelEvent(p0: MouseWheelEvent)
Link copied to clipboard
open override fun sendTouchEvent(p0: CefTouchEvent)
Link copied to clipboard
open override fun setCloseAllowed()
Link copied to clipboard
open override fun setFocus(p0: Boolean)
Link copied to clipboard
open override fun setWindowlessFrameRate(p0: Int)
Link copied to clipboard
open override fun setWindowVisibility(p0: Boolean)
Link copied to clipboard
open override fun setZoomLevel(p0: Double)
Link copied to clipboard
open override fun startDownload(p0: String)
Link copied to clipboard
open override fun stopFinding(p0: Boolean)
Link copied to clipboard
open override fun stopLoad()
Link copied to clipboard
open override fun viewSource()
Link copied to clipboard
open override fun wasResized(p0: Int, p1: Int)