Files
rr3-apk/decompiled/sources/com/mbridge/msdk/out/reveue/MBridgeRevenueParamsEntityForIronSource.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

43 lines
1.6 KiB
Java

package com.mbridge.msdk.out.reveue;
import android.text.TextUtils;
import com.ironsource.mediationsdk.impressionData.ImpressionData;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class MBridgeRevenueParamsEntityForIronSource extends MBridgeRevenueParamsEntity {
public MBridgeRevenueParamsEntityForIronSource(String str, String str2) {
super(str, str2);
setMediationName("IronSource");
}
@Override // com.mbridge.msdk.out.reveue.MBridgeRevenueParamsEntity
public void setDspInfo(String str, String str2) {
super.setDspInfo(str, str2);
}
public void setIronSourceImpressionDataString(String str, String str2) {
if (!TextUtils.isEmpty(str)) {
setMediationUnitId(str);
}
if (TextUtils.isEmpty(str2)) {
return;
}
String str3 = "{" + str2 + "}";
try {
setSourceData(str3, str3);
JSONObject jSONObject = new JSONObject(str3);
setNetworkName(jSONObject.optString("adNetwork", ""));
JSONObject jSONObject2 = new JSONObject();
jSONObject2.put("instanceName", jSONObject.optString("instanceName", ""));
jSONObject2.put("instanceId", jSONObject.optString("instanceId", ""));
setNetworkInfo(jSONObject2);
setAdType(jSONObject.optString("adUnit", ""));
setRevenue(jSONObject.optString(ImpressionData.IMPRESSION_DATA_KEY_REVENUE, ""));
setPrecision(jSONObject.optString("precision", ""));
} catch (Exception e) {
e.printStackTrace();
}
}
}