- 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
22 lines
662 B
Java
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);
|
|
}
|
|
}
|
|
}
|