Skip to content

custom chrome client

milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.webscrapper.base/CustomChromeClient/CustomChromeClient

CustomChromeClient

[androidJvm]
constructor(context: Context, userAgent: String = "Mozilla/5.0 (X11; Linux x86_64) " + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36", popupEnabled: Boolean = true, onError: (Exception) -> Unit = { e -> Timber.e(e) }, onIconReceived: (Bitmap?) -> Unit? = null, onTitleReceived: (String?) -> Unit? = null, onProgress: (Int) -> Unit? = null)

Clone this wiki locally