Perfume Of Love v2.14.9版本的 MD5 值为:16011aefc5a55805771706ce3b259b4e

以下内容为反编译后的 v.java 源代码,内容仅作参考


package com.chartboost.sdk.impl;

import com.chartboost.sdk.impl.i1;
import com.chartboost.sdk.internal.Model.CBError;
import com.google.firebase.analytics.FirebaseAnalytics;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONObject;
@Metadata(bv = {}, d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u000f\u001a\u00020\u000e\u0012\u0006\u0010\u0011\u001a\u00020\u0010¢\u0006\u0004\b\u0012\u0010\u0013J\u0016\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004J\u001c\u0010\u0007\u001a\u00020\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\u000b\u001a\u0004\u0018\u00010\nH\u0016J\u001c\u0010\u0007\u001a\u00020\u00062\b\u0010\t\u001a\u0004\u0018\u00010\b2\b\u0010\r\u001a\u0004\u0018\u00010\fH\u0016J\u0018\u0010\u0007\u001a\u00020\u00062\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u0005\u001a\u00020\u0004H\u0002¨\u0006\u0014"}, d2 = {"Lcom/chartboost/sdk/impl/v;", "Lcom/chartboost/sdk/impl/i1$a;", "", "endpointPath", "Lcom/chartboost/sdk/impl/h5;", "showParams", "", "a", "Lcom/chartboost/sdk/impl/i1;", "request", "Lorg/json/JSONObject;", "response", "Lcom/chartboost/sdk/internal/Model/CBError;", "error", "Lcom/chartboost/sdk/impl/g1;", "networkService", "Lcom/chartboost/sdk/impl/u4;", "requestBodyBuilder", "<init>", "(Lcom/chartboost/sdk/impl/g1;Lcom/chartboost/sdk/impl/u4;)V", "Chartboost-9.2.0_productionRelease"}, k = 1, mv = {1, 6, 0})
public final class v implements i1.a {
    public final g1 a;
    public final u4 b;
    public h5 c;

    public v(g1 networkService, u4 requestBodyBuilder) {
        Intrinsics.checkNotNullParameter(networkService, "networkService");
        Intrinsics.checkNotNullParameter(requestBodyBuilder, "requestBodyBuilder");
        this.a = networkService;
        this.b = requestBodyBuilder;
    }

    @Override
    public void a(i1 i1Var, JSONObject jSONObject) {
    }

    public final void a(String endpointPath, h5 showParams) {
        Intrinsics.checkNotNullParameter(endpointPath, "endpointPath");
        Intrinsics.checkNotNullParameter(showParams, "showParams");
        this.c = showParams;
        i1 i1Var = new i1("https://live.chartboost.com", endpointPath, this.b.a(), h4.NORMAL, this);
        i1Var.i = 1;
        a(i1Var, showParams);
        this.a.a(i1Var);
    }

    public final void a(i1 i1Var, h5 h5Var) {
        i1Var.a("cached", "0");
        i1Var.a(FirebaseAnalytics.Param.LOCATION, h5Var.c());
        int e = h5Var.e();
        if (e >= 0) {
            i1Var.a("video_cached", Integer.valueOf(e));
        }
        String a = h5Var.a();
        if (a == null || a.length() == 0) {
            return;
        }
        i1Var.a("ad_id", a);
    }

    @Override
    public void a(i1 i1Var, CBError cBError) {
        h5 h5Var = null;
        String errorDesc = cBError != null ? cBError.getErrorDesc() : null;
        if (errorDesc == null) {
            errorDesc = "Show failure";
        }
        String str = errorDesc;
        h5 h5Var2 = this.c;
        if (h5Var2 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("showParams");
            h5Var2 = null;
        }
        String b = h5Var2.b();
        h5 h5Var3 = this.c;
        if (h5Var3 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("showParams");
            h5Var3 = null;
        }
        String c = h5Var3.c();
        h5 h5Var4 = this.c;
        if (h5Var4 == null) {
            Intrinsics.throwUninitializedPropertyAccessException("showParams");
        } else {
            h5Var = h5Var4;
        }
        s2.d(new q2("show_request_error", str, b, c, h5Var.d()));
    }
}