decord/source/__polyfill/08xxx/module_8423.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

35 lines
977 B
JavaScript

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