decord/source/__polyfill/08xxx/module_8393.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

35 lines
977 B
JavaScript

// Module ID: 8393
// Function ID: 8394
// Dependencies: [17]
// Module 8393
import get_ActivityIndicator from "module_17" /* 17 */;
const NativeModules = get_ActivityIndicator.NativeModules;
const nativeEventEmitter = new get_ActivityIndicator.NativeEventEmitter(undefined);
class WebViewProxy {
constructor(arg0) {
this.webViewKey = global;
return;
}
injectJavaScript(arg0) {
RNCWebView = NativeModules.RNCWebView;
return RNCWebView.injectJavaScriptWithWebViewKey(this.webViewKey, global);
}
addOnMessageListener(arg0) {
closure_0 = global;
self = this;
return closure_1.addListener("ReactNativeWebViewOnMessageWithWebViewKey", (webViewKey) => {
if (webViewKey.webViewKey === self.webViewKey) {
closure_0(webViewKey);
}
});
}
releaseWebView() {
RNCWebView = NativeModules.RNCWebView;
releaseWebViewResult = RNCWebView.releaseWebView(this.webViewKey);
return;
}
}
export default WebViewProxy;