NetMirror.apk
Download file
package com.facebook.fbreact.specs;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
import g1.C0542a;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Map;
/* JADX INFO: loaded from: classes.dex */
public abstract class NativeBlobModuleSpec extends ReactContextBaseJavaModule implements TurboModule {
public static final String NAME = "BlobModule";
public NativeBlobModuleSpec(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@ReactMethod
public abstract void addNetworkingHandler();
@ReactMethod
public abstract void addWebSocketHandler(double d4);
@ReactMethod
public abstract void createFromParts(ReadableArray readableArray, String str);
@Override // com.facebook.react.bridge.BaseJavaModule
public final Map<String, Object> getConstants() {
Map<String, Object> typedExportedConstants = getTypedExportedConstants();
if (C0542a.f9423b || C0542a.f9424c) {
HashSet hashSet = new HashSet();
HashSet hashSet2 = new HashSet(Arrays.asList("BLOB_URI_HOST", "BLOB_URI_SCHEME"));
HashSet hashSet3 = new HashSet(typedExportedConstants.keySet());
hashSet3.removeAll(hashSet);
hashSet3.removeAll(hashSet2);
if (!hashSet3.isEmpty()) {
throw new IllegalStateException(String.format("Native Module Flow doesn't declare constants: %s", hashSet3));
}
hashSet.removeAll(typedExportedConstants.keySet());
if (!hashSet.isEmpty()) {
throw new IllegalStateException(String.format("Native Module doesn't fill in constants: %s", hashSet));
}
}
return typedExportedConstants;
}
@Override // com.facebook.react.bridge.NativeModule
public String getName() {
return NAME;
}
protected abstract Map<String, Object> getTypedExportedConstants();
@ReactMethod
public abstract void release(String str);
@ReactMethod
public abstract void removeWebSocketHandler(double d4);
@ReactMethod
public abstract void sendOverSocket(ReadableMap readableMap, double d4);
}
⚠️ 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