WebMessageListenerBoundaryInterface

interface WebMessageListenerBoundaryInterface implements FeatureFlagHolderBoundaryInterface

Known direct subclasses
WebMessageListenerAdapter

Adapter between WebViewCompat.VisualStateCallback and VisualStateCallbackBoundaryInterface (the corresponding interface shared with the support library glue in the WebView APK).


Boundary interface for org.chromium.android_webview.WebMessageListener.

Summary

Public methods

abstract @NonNull void
onPostMessage(
    @NonNull WebView view,
    @NonNull InvocationHandler message,
    @NonNull Uri sourceOrigin,
    @NonNull boolean isMainFrame,
    @NonNull InvocationHandler replyProxy
)

Inherited methods

From class FeatureFlagHolderBoundaryInterface
abstract @NonNull Array<@NonNull String>

Indicate the list of org.chromium.support_lib_boundary.util.Features supported by this object.

Public methods

onPostMessage

@NonNull
public abstract void onPostMessage(
    @NonNull WebView view,
    @NonNull InvocationHandler message,
    @NonNull Uri sourceOrigin,
    @NonNull boolean isMainFrame,
    @NonNull InvocationHandler replyProxy
)