Stay organized with collections
Save and categorize content based on your preferences.
WebkitToCompatConverterBoundaryInterface
interface WebkitToCompatConverterBoundaryInterface
Boundary interface for a class used for converting webkit objects into Compat (support library) objects.
Summary
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# WebkitToCompatConverterBoundaryInterface\n========================================\n\n\n```\ninterface WebkitToCompatConverterBoundaryInterface\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nBoundary interface for a class used for converting webkit objects into Compat (support library) objects.\n\nSummary\n-------\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertSafeBrowsingResponse](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertSafeBrowsingResponse(java.lang.Object))`(safeBrowsingResponse: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?)` |\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?` | [convertSafeBrowsingResponse](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertSafeBrowsingResponse(java.lang.reflect.InvocationHandler))`(safeBrowsingResponse: `[InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?)` |\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertServiceWorkerSettings](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertServiceWorkerSettings(java.lang.Object))`(serviceWorkerWebSettings: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?)` |\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?` | [convertServiceWorkerSettings](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertServiceWorkerSettings(java.lang.reflect.InvocationHandler))`(serviceWorkerSettings: `[InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?)` |\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertSettings](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertSettings(android.webkit.WebSettings))`(webSettings: `[WebSettings](https://developer.android.com/reference/android/webkit/WebSettings.html)`?)` |\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertWebMessagePort](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertWebMessagePort(java.lang.Object))`(webMessagePort: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?)` |\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?` | [convertWebMessagePort](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertWebMessagePort(java.lang.reflect.InvocationHandler))`(webMessagePort: `[InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?)` |\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertWebResourceError](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertWebResourceError(java.lang.Object))`(webResourceError: `[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?)` |\n| [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`?` | [convertWebResourceError](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertWebResourceError(java.lang.reflect.InvocationHandler))`(webResourceError: `[InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?)` |\n| [InvocationHandler](https://developer.android.com/reference/java/lang/reflect/InvocationHandler.html)`?` | [convertWebResourceRequest](/reference/kotlin/org/chromium/support_lib_boundary/WebkitToCompatConverterBoundaryInterface#convertWebResourceRequest(android.webkit.WebResourceRequest))`(request: `[WebResourceRequest](https://developer.android.com/reference/android/webkit/WebResourceRequest.html)`?)` |\n\nPublic functions\n----------------\n\n### convertSafeBrowsingResponse\n\n```\nfun convertSafeBrowsingResponse(safeBrowsingResponse: Any?): InvocationHandler?\n``` \n\n### convertSafeBrowsingResponse\n\n```\nfun convertSafeBrowsingResponse(safeBrowsingResponse: InvocationHandler?): Any?\n``` \n\n### convertServiceWorkerSettings\n\n```\nfun convertServiceWorkerSettings(serviceWorkerWebSettings: Any?): InvocationHandler?\n``` \n\n### convertServiceWorkerSettings\n\n```\nfun convertServiceWorkerSettings(serviceWorkerSettings: InvocationHandler?): Any?\n``` \n\n### convertSettings\n\n```\nfun convertSettings(webSettings: WebSettings?): InvocationHandler?\n``` \n\n### convertWebMessagePort\n\n```\nfun convertWebMessagePort(webMessagePort: Any?): InvocationHandler?\n``` \n\n### convertWebMessagePort\n\n```\nfun convertWebMessagePort(webMessagePort: InvocationHandler?): Any?\n``` \n\n### convertWebResourceError\n\n```\nfun convertWebResourceError(webResourceError: Any?): InvocationHandler?\n``` \n\n### convertWebResourceError\n\n```\nfun convertWebResourceError(webResourceError: InvocationHandler?): Any?\n``` \n\n### convertWebResourceRequest\n\n```\nfun convertWebResourceRequest(request: WebResourceRequest?): InvocationHandler?\n```"]]