File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
js-messaging/js-messaging-api/src/main/java/com/duckduckgo/js/messaging/api Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ package com.duckduckgo.js.messaging.api
18
18
19
19
import org.json.JSONObject
20
20
21
- abstract class WebViewCompatMessageCallback {
22
- abstract fun process (
21
+ interface WebViewCompatMessageCallback {
22
+ fun process (
23
23
featureName : String ,
24
24
method : String ,
25
25
id : String? ,
@@ -37,6 +37,7 @@ interface WebCompatMessageHandler {
37
37
*
38
38
* @param jsMessage The JavaScript message to be processed.
39
39
* @param jsMessageCallback An optional callback to handle the result of the message processing.
40
+ * @param onResponse A callback function to send a response back to the JavaScript code.
40
41
*/
41
42
42
43
// TODO: Simplify by removing the onResponse and callback
You can’t perform that action at this time.
0 commit comments