addAppHandler

open fun addAppHandler(appHandler: CefAppHandler)

Assign an AppHandler to CefApp. The AppHandler can be used to evaluate application arguments, to register your own schemes and to hook into the shutdown sequence. See CefAppHandler for more details.

This method must be called before CefApp is initialized. CefApp will be initialized automatically if you call createClient() the first time.

Parameters

appHandler

An instance of CefAppHandler.

Throws

in case of CefApp is already initialized