CefMessageRouterHandlerAdapter

An abstract adapter class for receiving message router events. The methods in this class are empty. This class exists as convenience for creating handler objects.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getNativeRef(): Long

open fun getNativeRef(identifer: String): Long
Method is called by the native code to get the reference to an previous stored identifier.
Link copied to clipboard
open fun onQuery(browser: CefBrowser, frame: CefFrame, queryId: Long, request: String, persistent: Boolean, callback: CefQueryCallback): Boolean
Called when the browser receives a JavaScript query.
Link copied to clipboard
open fun onQueryCanceled(browser: CefBrowser, frame: CefFrame, queryId: Long)
Called when a pending JavaScript query is canceled.
Link copied to clipboard
open fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.