Files
rr3-apk/decompiled-community/sources/com/unity3d/services/ads/webplayer/WebPlayerEventBridge.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -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));
}
}
}