decord/source/__polyfill/08xxx/module_8333.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

35 lines
977 B
JavaScript

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