KCEF
Class used to initialize the JCef environment.
Create a new KCEFClient after initialization easily.
Dispose the JCef environment if you don't need it anymore.
Types
Link copied to clipboard
open class AppHandler @JvmOverloads constructor(args: Array<String> = emptyArray()) : CefAppHandlerAdapter
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Blocking equivalent of dispose
Link copied to clipboard
Mark CEF as initialized on the client.
suspend fun init(builder: KCEFBuilder, onError: KCEF.InitError = InitError { }, onRestartRequired: KCEF.InitRestartRequired = InitRestartRequired { })
suspend fun init(builder: KCEFBuilder.() -> Unit, onError: KCEF.InitError = InitError { }, onRestartRequired: KCEF.InitRestartRequired = InitRestartRequired { })
Download, install and initialize CEF on the client.
Link copied to clipboard
fun initBlocking(builder: KCEFBuilder, onError: KCEF.InitError = InitError { }, onRestartRequired: KCEF.InitRestartRequired = InitRestartRequired { })
fun initBlocking(builder: KCEFBuilder.() -> Unit, onError: KCEF.InitError = InitError { }, onRestartRequired: KCEF.InitRestartRequired = InitRestartRequired { })
Blocking equivalent of init
Link copied to clipboard
Create a new CefClient after CEF has been initialized.
Link copied to clipboard
Blocking equivalent of newClient
Link copied to clipboard
suspend fun newClientOrNull(onError: KCEF.NewClientOrNullError = NewClientOrNullError { }): KCEFClient?
Create a new CefClient after CEF has been initialized.
Link copied to clipboard
fun newClientOrNullBlocking(onError: KCEF.NewClientOrNullError = NewClientOrNullError { }): KCEFClient?
Blocking equivalent of newClientOrNull
Link copied to clipboard
Create a new client if CEF has been initialized.