decord/source/__polyfill/08xxx/module_8426.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

35 lines
977 B
JavaScript

// Module ID: 8426
// Function ID: 8427
// Dependencies: [17]
// Module 8426
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;