CefURLRequestClient

Interface that should be implemented by the CefURLRequest client. The methods of this class will be called on the same thread that created the request unless otherwise documented.

Functions

Link copied to clipboard
abstract fun getAuthCredentials(isProxy: Boolean, host: String, port: Int, realm: String, scheme: String, callback: CefAuthCallback): Boolean
Called on the IO thread when the browser needs credentials from the user.
Link copied to clipboard
abstract 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
abstract fun onDownloadData(request: CefURLRequest, data: Array<Byte>, data_length: Int)
Called when some part of the response is read.
Link copied to clipboard
abstract fun onDownloadProgress(request: CefURLRequest, current: Int, total: Int)
Notifies the client of download progress.
Link copied to clipboard
abstract fun onRequestComplete(request: CefURLRequest)
Notifies the client that the request has completed.
Link copied to clipboard
abstract fun onUploadProgress(request: CefURLRequest, current: Int, total: Int)
Notifies the client of upload progress.
Link copied to clipboard
abstract fun setNativeRef(identifer: String, nativeRef: Long)
Method is called by the native code to store a reference to an implemented native JNI counterpart.