Files
rr3-apk/decompiled/sources/com/unity3d/services/ads/webplayer/WebPlayerEventBridge.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

29 lines
1.3 KiB
Java

package com.unity3d.services.ads.webplayer;
import com.unity3d.services.core.webview.WebViewApp;
import com.unity3d.services.core.webview.WebViewEventCategory;
/* loaded from: classes4.dex */
public class WebPlayerEventBridge {
public static void error(String str, String str2, String str3) {
WebViewApp currentApp = WebViewApp.getCurrentApp();
if (currentApp != null) {
currentApp.sendEvent(WebViewEventCategory.WEBPLAYER, WebPlayerEvent.ERROR, str2, str3, str);
}
}
public static void sendFrameUpdate(String str, int i, int i2, int i3, int i4, float f) {
WebViewApp currentApp = WebViewApp.getCurrentApp();
if (currentApp != null) {
currentApp.sendEvent(WebViewEventCategory.WEBPLAYER, WebPlayerEvent.FRAME_UPDATE, str, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), Float.valueOf(f));
}
}
public static void sendGetFrameResponse(String str, String str2, int i, int i2, int i3, int i4, float f) {
WebViewApp currentApp = WebViewApp.getCurrentApp();
if (currentApp != null) {
currentApp.sendEvent(WebViewEventCategory.WEBPLAYER, WebPlayerEvent.GET_FRAME_RESPONSE, str, str2, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), Float.valueOf(f));
}
}
}