Files
rr3-apk/decompiled/sources/com/unity3d/services/ads/webplayer/WebPlayerBridgeInterface.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

22 lines
662 B
Java

package com.unity3d.services.ads.webplayer;
import android.webkit.JavascriptInterface;
import com.unity3d.services.core.webview.WebViewApp;
import com.unity3d.services.core.webview.WebViewEventCategory;
/* loaded from: classes4.dex */
public class WebPlayerBridgeInterface {
private final String viewId;
public WebPlayerBridgeInterface(String str) {
this.viewId = str;
}
@JavascriptInterface
public void handleEvent(String str) {
if (WebViewApp.getCurrentApp() != null) {
WebViewApp.getCurrentApp().sendEvent(WebViewEventCategory.WEBPLAYER, WebPlayerEvent.WEBPLAYER_EVENT, str, this.viewId);
}
}
}