NetMirror.apk
Download file
package com.facebook.react.bridge;
import com.facebook.jni.HybridData;
import com.facebook.react.devsupport.inspector.InspectorNetworkRequestListener;
import java.util.Map;
import java.util.concurrent.Executor;
/* JADX INFO: loaded from: classes.dex */
public class ReactInstanceManagerInspectorTarget implements AutoCloseable {
private final HybridData mHybridData;
public interface TargetDelegate {
Map<String, String> getMetadata();
void loadNetworkResource(String str, InspectorNetworkRequestListener inspectorNetworkRequestListener);
void onReload();
void onSetPausedInDebuggerMessage(String str);
}
static {
ReactBridge.staticInit();
}
public ReactInstanceManagerInspectorTarget(TargetDelegate targetDelegate) {
this.mHybridData = initHybrid(new Executor() { // from class: com.facebook.react.bridge.ReactInstanceManagerInspectorTarget.1
@Override // java.util.concurrent.Executor
public void execute(Runnable runnable) {
if (UiThreadUtil.isOnUiThread()) {
runnable.run();
} else {
UiThreadUtil.runOnUiThread(runnable);
}
}
}, targetDelegate);
}
private native HybridData initHybrid(Executor executor, TargetDelegate targetDelegate);
@Override // java.lang.AutoCloseable
public void close() {
this.mHybridData.resetNative();
}
boolean isValid() {
return this.mHybridData.isValid();
}
public native void sendDebuggerResumeCommand();
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file