addJsInterface

abstract fun addJsInterface(webView: WebView, autoconsentCallback: AutoconsentCallback)

This method adds the JS interface for autoconsent to create a bridge between JS and our client. It requires a WebView instance and an AutoconsentCallback.